/* ===== VARIABLES & ROOT ===== */
:root {
    /* Colors */
    --primary-color: #2e3091;
    --secondary-color: #ffc107;
    --accent-color: #667eea;
    --dark-color: #2d3748;
    --light-color: #f8f9fa;
    --text-dark: #2d3748;
    --text-light: #718096;
    
    /* Shadows */
    --shadow-light: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-heavy: 0 20px 25px rgba(0, 0, 0, 0.15);
    
    /* Other */
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

/* ===== ANIMATIONS ===== */
@keyframes scroll-wheel {
    0% { 
        transform: translateX(-50%) translateY(0); 
        opacity: 1; 
    }
    100% { 
        transform: translateX(-50%) translateY(16px); 
        opacity: 0; 
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== BASE STYLES ===== */
.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #25277d;
    border-color: #25277d;
}

/* ===== LAYOUT COMPONENTS ===== */

/* === NAVBAR === */
.navbar {
    padding: 1rem 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-light);
}

.navbar-brand img,
.navbar-logo {
    height: 60px !important;
    width: auto !important;
    transition: var(--transition);
}

.navbar-logo:hover {
    transform: scale(1.05);
}

/* === HERO SECTION === */
.hero-modern {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.hero-modern .container {
    position: relative;
    z-index: 3;
}

.hero-badge .badge {
    font-size: 0.9rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.4rem;
    font-weight: 300;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.hero-features {
    margin: 3rem 0;
}

.feature-item {
    text-align: center;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.feature-item i {
    color: var(--secondary-color);
}

.feature-item h6 {
    color: white;
    margin: 0;
    font-weight: 500;
}

.hero-buttons .btn {
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}

.hero-buttons .btn-warning {
    box-shadow: 0 10px 25px rgba(255, 193, 7, 0.3);
}

.hero-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 12px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 2s infinite;
}

/* === STATS SECTION === */
.stats-section {
    background: var(--light-color);
}

.stat-card {
    padding: 2rem 1rem;
    text-align: center;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-light);
    font-weight: 500;
    margin: 0;
}

/* === CLIENTS SECTION === */
.clients-section {
    background: var(--light-color);
}

.section-header {
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.client-item {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    border: 1px solid #e2e8f0;
}

.client-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.client-logo {
    max-height: 80px;
    width: auto;
    margin: 0 auto 1rem;
}

.client-name {
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

/* === SERVICES SECTION === */
.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    border: 1px solid #e2e8f0;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.service-card h4 {
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.service-features li {
    padding: 0.5rem 0;
    color: var(--text-dark);
    position: relative;
    padding-left: 1.5rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* === BRANDS SECTION === */
.brands-section {
    background: var(--light-color);
}

.brand-item {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    border: 1px solid #e2e8f0;
    height: 100%;
}

.brand-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.brand-logo {
    max-height: 60px;
    width: auto;
    margin: 0 auto;
}

/* === ARTICLES SECTION === */
.article-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    height: 100%;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.article-card.featured {
    display: flex;
    flex-direction: column;
}

.article-card.horizontal {
    display: flex;
    align-items: center;
}

.article-image {
    position: relative;
    overflow: hidden;
}

.article-card.featured .article-image {
    height: 250px;
}

.article-card.horizontal .article-image {
    width: 120px;
    height: 120px;
    flex-shrink: 0;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.article-card:hover .article-image img {
    transform: scale(1.05);
}

.article-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.article-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.5rem;
}

.article-content {
    padding: 1.5rem;
}

.article-card.featured .article-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.article-card.featured h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.article-card.horizontal h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.article-content p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.article-card.featured .article-content p {
    flex-grow: 1;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.date {
    color: var(--text-light);
    font-size: 0.9rem;
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.read-more:hover {
    color: var(--accent-color);
}

/* === YOUTUBE SECTION === */
.youtube-section {
    background: var(--light-color);
}

.video-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    height: 100%;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.video-container {
    position: relative;
    overflow: hidden;
}

.video-container iframe {
    border: none;
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.5rem;
    opacity: 0;
    transition: var(--transition);
    cursor: pointer;
}

.video-container:hover .video-play-btn {
    opacity: 1;
}

.video-content {
    padding: 1.5rem;
}

.video-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.video-description {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.video-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: var(--text-light);
}

.video-views,
.video-date {
    display: flex;
    align-items: center;
}

.youtube-cta {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    border-left: 4px solid #FF0000;
}

.youtube-cta .cta-title {
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.youtube-cta .cta-subtitle {
    color: var(--text-light);
    margin: 0;
}

.youtube-cta .btn {
    border-radius: 50px;
    font-weight: 600;
    padding: 0.75rem 2rem;
}

/* === SONIC SERVICE CENTER SECTION === */
.sonic-section {
    background: white;
}

.service-center-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    border: 1px solid #e2e8f0;
    height: 100%;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.service-center-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.service-center-card.website {
    border-top: 4px solid var(--primary-color);
}

.service-center-card.warranty {
    border-top: 4px solid var(--secondary-color);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.service-center-card.warranty .card-icon {
    background: linear-gradient(135deg, var(--secondary-color), #ffb300);
}

.card-content {
    flex: 1;
}

.card-content h4 {
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.card-description {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.card-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
}

.card-link:hover {
    color: var(--accent-color);
    transform: translateX(3px);
}

.service-center-card.warranty .card-link {
    color: var(--secondary-color);
}

.service-center-card.warranty .card-link:hover {
    color: #ffb300;
}

/* === CTA SECTION === */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="rgba(255,255,255,0.05)" points="0,1000 1000,0 1000,1000"/></svg>');
    background-size: cover;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin: 0;
}

.cta-section .btn {
    border-radius: 50px;
    font-weight: 600;
    padding: 1rem 2rem;
}

/* === FLOATING SOCIAL SIDEBAR === */
.social-sidebar {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.social-group,
.whatsapp-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: white;
    padding: 15px 10px;
    border-radius: 50px;
    box-shadow: var(--shadow-heavy);
    border: 1px solid #e9ecef;
    transition: var(--transition);
}

.social-group:hover,
.whatsapp-group:hover {
    transform: translateX(-5px);
}

.social-link,
.whatsapp-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    font-size: 1.1rem;
}

.social-link {
    background: #f8f9fa;
    color: var(--text-dark);
}

.social-link:hover {
    transform: translateY(-3px);
    color: white;
}

.whatsapp-link {
    background: #25D366;
    color: white;
}

.whatsapp-link:hover {
    background: #128C7E;
    transform: translateY(-3px);
    color: white;
}

/* Social media specific hover colors */
.social-link[title="YouTube"]:hover { 
    background: #FF0000; 
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.3);
}

.social-link[title="TikTok"]:hover { 
    background: #000000; 
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.social-link[title="Instagram"]:hover { 
    background: #E4405F; 
    box-shadow: 0 5px 15px rgba(228, 64, 95, 0.3);
}

.whatsapp-link:hover {
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

/* Tooltip */
.social-link::after,
.whatsapp-link::after {
    content: attr(title);
    position: absolute;
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    background: var(--dark-color);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    margin-right: 15px;
    box-shadow: var(--shadow-light);
}

.social-link:hover::after,
.whatsapp-link:hover::after {
    opacity: 1;
    visibility: visible;
}

/* === FOOTER === */
.footer-custom {
    background: linear-gradient(135deg, var(--primary-color) 0%, #25277d 100%) !important;
    position: relative;
    overflow: hidden;
}

.footer-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="rgba(255,255,255,0.03)" points="0,0 1000,1000 0,1000"/></svg>');
    background-size: cover;
}

.footer-logo {
    height: 50px;
    width: auto;
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.footer-heading {
    color: white;
    font-weight: 600;
    font-size: 1.2rem;
}

.footer-links {
    margin: 0;
}

.footer-link {
    color: rgba(255, 255, 255, 0.7) !important;
    text-decoration: none;
    transition: var(--transition);
    display: block;
    padding: 0.25rem 0;
}

.footer-link:hover {
    color: white !important;
    transform: translateX(5px);
}

.contact-info {
    color: rgba(255, 255, 255, 0.8);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    line-height: 1.5;
}

.contact-item i {
    margin-top: 0.2rem;
    color: var(--secondary-color);
}

.social-footer-link {
    color: rgba(255, 255, 255, 0.7) !important;
    margin-right: 1rem;
    transition: var(--transition);
    display: inline-block;
}

.social-footer-link:hover {
    color: white !important;
    transform: translateY(-3px);
}

.social-footer-link[title="YouTube"]:hover { color: #FF0000 !important; }
.social-footer-link[title="TikTok"]:hover { color: #000000 !important; }
.social-footer-link[title="Instagram"]:hover { color: #E4405F !important; }
.social-footer-link[title="WhatsApp"]:hover { color: #25D366 !important; }

.footer-border {
    border-color: rgba(255, 255, 255, 0.2) !important;
}

.member-badge {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 1.1rem;
}

.copyright, .website {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* ===== PAGE SPECIFIC STYLES ===== */

/* === ABOUT PAGE === */
.about-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.card-hover:hover {
    transform: translateY(-5px);
    transition: all 0.3s ease;
}

.certificate-card {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.certificate-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15) !important;
}

.card-img-top {
    border-bottom: 1px solid #e9ecef;
}

.network-image {
    transition: transform 0.3s ease;
    object-fit: contain !important;
    max-width: 100%;
    height: auto;
}

.network-image:hover {
    transform: scale(1.02);
}

.values-card {
    transition: transform 0.3s ease;
}

.values-card:hover {
    transform: translateY(-5px);
}

/* === CONTACT PAGE === */
.contact-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e9ecef;
}

.contact-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.contact-icon {
    flex-shrink: 0;
    width: 50px;
    text-align: center;
}

.contact-icon i {
    font-size: 1.5rem;
}

.contact-content {
    flex-grow: 1;
}

.contact-content h5 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-content p {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Maps Styles */
.maps-container {
    position: relative;
    border-radius: 0 0 0.375rem 0.375rem;
    overflow: hidden;
}

.maps-placeholder {
    height: 400px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.placeholder-content {
    text-align: center;
    padding: 2rem;
}

.marked-icon {
    font-size: 4rem;
    color: #6c757d;
    margin-bottom: 1rem;
    opacity: 0.7;
}

.placeholder-content h5 {
    color: #495057;
    margin-bottom: 1rem;
}

.placeholder-content p {
    color: #6c757d;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

/* Company Motto Styles */
.company-motto {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 3rem 2rem;
    border-radius: 15px;
    border: 2px solid #e9ecef;
    position: relative;
    overflow: hidden;
}

.company-motto::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #007bff, #28a745, #ffc107);
}

.company-name {
    color: #2c3e50;
    font-weight: 800;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.motto-tags {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.motto-tag {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.motto-tag::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.motto-tag:hover::before {
    left: 100%;
}

.motto-tag:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

.motto-tag:nth-child(2) {
    background: linear-gradient(135deg, #28a745, #1e7e34);
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.motto-tag:nth-child(2):hover {
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}

.motto-tag:nth-child(3) {
    background: linear-gradient(135deg, #ffc107, #e0a800);
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
}

.motto-tag:nth-child(3):hover {
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.4);
}

.motto-description {
    color: #6c757d;
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
    font-style: italic;
}

/* Service Cards */
.service-card-contact {
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.service-card-contact:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1) !important;
    border-color: #007bff;
}

.service-icon-contact {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #007bff, #0056b3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.service-icon-contact.partnership {
    background: linear-gradient(135deg, #28a745, #1e7e34);
}

.service-icon-contact.career {
    background: linear-gradient(135deg, #ffc107, #e0a800);
}

.service-title-contact {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-description-contact {
    color: #6c757d;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-contact-info {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 0.375rem;
    border-left: 4px solid #007bff;
}

.service-contact-info p {
    margin-bottom: 0.5rem;
    color: #495057;
}

/* Action Card */
.action-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    overflow: hidden;
    position: relative;
}

.action-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
}

.action-icon {
    font-size: 4rem;
    opacity: 0.9;
}

.action-title {
    font-weight: 700;
    margin-bottom: 1rem;
}

.action-description {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.action-buttons .btn {
    border-radius: 50px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.action-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* === CSR PAGE === */
.csr-hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-left: 5px solid #007bff;
}

.csr-stats {
    margin-top: 2rem;
}

.stat-item {
    padding: 1rem;
}

.stat-number-csr {
    font-size: 2.5rem;
    font-weight: 800;
    color: #007bff;
    margin-bottom: 0.5rem;
}

.stat-label-csr {
    color: #6c757d;
    font-weight: 600;
    margin-bottom: 0;
}

/* Pillar Cards */
.pillar-card {
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.pillar-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1) !important;
}

.pillar-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.pillar-icon.education {
    background: linear-gradient(135deg, #007bff, #0056b3);
}

.pillar-icon.health {
    background: linear-gradient(135deg, #28a745, #1e7e34);
}

.pillar-icon.environment {
    background: linear-gradient(135deg, #20c997, #13855c);
}

.pillar-icon.economy {
    background: linear-gradient(135deg, #ffc107, #e0a800);
}

.pillar-title {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 700;
}

.pillar-description {
    color: #6c757d;
    line-height: 1.6;
}

/* Program Cards */
.program-card {
    transition: all 0.3s ease;
    border-left: 4px solid #007bff;
}

.program-card:hover {
    transform: translateX(5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
}

.program-image {
    height: 200px;
    width: 100%;
    object-fit: cover;
}

.program-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.education-badge {
    background: #007bff;
}

.health-badge {
    background: #28a745;
}

.environment-badge {
    background: #20c997;
}

.program-title {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 700;
}

.program-description {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.program-impact {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.impact-item {
    background: #f8f9fa;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    color: #495057;
    border: 1px solid #e9ecef;
}

/* Gallery */
.gallery-item {
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15) !important;
}

.gallery-item .card-img-top {
    height: 200px;
    object-fit: cover;
}

.gallery-item .card-title {
    color: #2c3e50;
    font-weight: 600;
}

/* Call to Action */
.cta-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    overflow: hidden;
    position: relative;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
}

.cta-icon {
    font-size: 4rem;
    opacity: 0.9;
}

.cta-title {
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-description {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.cta-buttons .btn {
    border-radius: 50px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    /* Hero Section */
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    /* Sections */
    .section-title {
        font-size: 2rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    /* Articles */
    .article-card.horizontal {
        flex-direction: column;
        align-items: stretch;
    }
    
    .article-card.horizontal .article-image {
        width: 100%;
        height: 200px;
    }
    
    /* CTA Section */
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-section .row {
        text-align: center;
    }
    
    .cta-section .text-lg-end {
        text-align: center !important;
        margin-top: 2rem;
    }
    
    /* YouTube Section */
    .video-title {
        font-size: 1.1rem;
    }
    
    .video-content {
        padding: 1.25rem;
    }
    
    .video-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .youtube-cta {
        text-align: center;
        padding: 1.5rem;
    }
    
    .youtube-cta .row {
        flex-direction: column;
        gap: 1rem;
    }
    
    /* Service Center */
    .service-center-card {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    
    .card-icon {
        margin: 0 auto;
    }
    
    /* Footer */
    .footer-logo {
        height: 40px;
    }
    
    .footer-heading {
        font-size: 1.1rem;
    }
    
    .contact-item {
        font-size: 0.9rem;
    }
    
    .member-badge {
        font-size: 1rem;
        text-align: center;
        margin-bottom: 1rem;
    }
    
    .copyright, .website {
        text-align: center !important;
    }
    
    /* Social Sidebar */
    .social-sidebar {
        right: 10px;
        gap: 10px;
    }
    
    .social-group,
    .whatsapp-group {
        padding: 12px 8px;
        gap: 10px;
    }
    
    .social-link,
    .whatsapp-link {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    /* Hide tooltip on mobile */
    .social-link::after,
    .whatsapp-link::after {
        display: none;
    }
    
    /* Contact Page */
    .contact-item {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-icon {
        margin-bottom: 1rem;
        width: 100%;
    }
    
    .action-buttons {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    
    .action-buttons .btn {
        margin: 0 !important;
    }
    
    .service-card-contact {
        margin-bottom: 2rem;
    }
    
    .maps-placeholder {
        height: 300px;
    }
    
    /* Company Motto */
    .company-name {
        font-size: 2rem;
        letter-spacing: 1px;
    }
    
    .motto-tags {
        gap: 1rem;
    }
    
    .motto-tag {
        padding: 0.6rem 1.2rem;
        font-size: 1rem;
    }
    
    .motto-description {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .company-motto {
        padding: 2rem 1rem;
    }
    
    /* CSR Page */
    .stat-number-csr {
        font-size: 2rem;
    }
    
    .program-card .row {
        flex-direction: column;
    }
    
    .program-image {
        margin-bottom: 1rem;
    }
    
    .program-impact {
        justify-content: center;
    }
    
    .impact-item {
        margin-bottom: 0.5rem;
    }
    
    .cta-buttons {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    
    .cta-buttons .btn {
        margin: 0 !important;
    }
}

@media (max-width: 480px) {
    .social-sidebar {
        bottom: 20px;
        top: auto;
        right: 20px;
        transform: none;
        flex-direction: row;
    }
    
    .social-group,
    .whatsapp-group {
        flex-direction: row;
        border-radius: 25px;
        padding: 10px 15px;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .company-name {
        font-size: 1.5rem;
        letter-spacing: 0.5px;
    }
    
    .motto-tags {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
    
    .motto-tag {
        width: 200px;
        text-align: center;
    }
    
    .motto-description {
        font-size: 0.9rem;
    }
    
    .action-card .card-body,
    .csr-hero .card-body,
    .cta-card .card-body {
        padding: 2rem !important;
    }
    
    .action-icon,
    .cta-icon {
        font-size: 3rem;
    }
    
    .pillar-card {
        margin-bottom: 1.5rem;
    }
}

/* Modal Styles */
.map-steps {
    padding-left: 1.5rem;
}

.map-steps li {
    margin-bottom: 0.5rem;
    color: #495057;
}

.map-code {
    background: #2c3e50;
    color: #ecf0f1;
    padding: 1rem;
    border-radius: 0.375rem;
    font-size: 0.9rem;
    display: block;
    margin-top: 0.5rem;
    overflow-x: auto;
}

/* Hero Slider Styles */
#heroSlider {
    z-index: 1;
}

#heroSlider .carousel-item {
    transition: transform 0.6s ease-in-out;
}

#heroSlider .carousel-indicators {
    bottom: 30px;
    z-index: 10;
}

#heroSlider .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
}

#heroSlider .carousel-indicators button.active {
    background-color: #fff;
}

#heroSlider .carousel-control-prev,
#heroSlider .carousel-control-next {
    width: 5%;
    z-index: 10;
}

#heroSlider .carousel-control-prev-icon,
#heroSlider .carousel-control-next-icon {
    width: 2.5rem;
    height: 2.5rem;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    background-size: 60%;
}

/* Hero Overlay */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.4) 0%,
        rgba(0, 0, 0, 0.2) 50%,
        rgba(0, 0, 0, 0.4) 100%
    );
    z-index: 2;
}

/* Hero Content */
.hero-modern .container {
    position: relative;
    z-index: 3;
}