/* Modern Homepage Styles */

:root {
    --primary-color: #f73246;
    --secondary-color: #23272b;
    --accent-color: #e91e63;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --gray-light: #6c757d;
    --gray-dark: #495057;
    --shadow-light: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-medium: 0 8px 30px rgba(0,0,0,0.12);
    --shadow-heavy: 0 15px 40px rgba(0,0,0,0.15);
    --gradient-primary: linear-gradient(135deg, #f73246 0%, #e91e63 100%);
    --gradient-dark: linear-gradient(135deg, #23272b 0%, #495057 100%);
}

/* Global Symmetric Layout System */
.container {
    max-width: 1320px;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    margin-left: auto;
    margin-right: auto;
}

.container-fluid {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

/* Ultra-wide screens */
@media (min-width: 1600px) {
    .container {
        max-width: 1500px;
        padding-left: 3rem;
        padding-right: 3rem;
    }
    .container-fluid {
        padding-left: 3rem;
        padding-right: 3rem;
    }
}

/* Large screens */
@media (min-width: 1400px) {
    .container {
        max-width: 1400px;
        padding-left: 2.5rem;
        padding-right: 2.5rem;
    }
    .container-fluid {
        padding-left: 2.5rem;
        padding-right: 2.5rem;
    }
}

/* Medium screens */
@media (min-width: 992px) {
    .container {
        padding-left: 2rem;
        padding-right: 2rem;
    }
    .container-fluid {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

/* Small screens - Consistent mobile padding */
@media (max-width: 991.98px) {
    .container,
    .container-fluid {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* Symmetric Section Spacing */
.section-padding {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

@media (max-width: 768px) {
    .section-padding {
        padding-top: 2.5rem;
        padding-bottom: 2.5rem;
    }
}

/* Contact & News Section Styles */
.contact-info-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    border: 1px solid #f0f0f0;
    height: 100%;
}

.contact-title {
    color: var(--secondary-color);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.contact-subtitle {
    font-size: 1.1rem;
    margin-bottom: 0;
}

.contact-item-modern {
    text-align: center;
    padding: 1.5rem 1rem;
    border-radius: 15px;
    transition: all 0.3s ease;
    height: 100%;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
}

.contact-item-modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    background: white;
}

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

.contact-label {
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.contact-text {
    color: var(--gray-dark);
    line-height: 1.5;
    margin-bottom: 1rem;
}

.contact-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: var(--accent-color);
    text-decoration: none;
}

.contact-actions {
    margin-top: 1rem;
}

/* Latest News Card */
.latest-news-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    border: 1px solid #f0f0f0;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.news-header {
    text-align: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f0f0f0;
}

.news-title {
    color: var(--secondary-color);
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.news-subtitle {
    color: var(--gray-light);
    font-size: 0.95rem;
    margin-bottom: 0;
}

.news-list {
    flex: 1;
}

.news-item-modern {
    display: flex;
    align-items: flex-start;
    padding: 1rem 0;
    border-bottom: 1px solid #f8f9fa;
    transition: all 0.3s ease;
}

.news-item-modern:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.news-item-modern:hover {
    background: #f8f9fa;
    margin: 0 -1rem;
    padding-left: 1rem;
    padding-right: 1rem;
    border-radius: 10px;
}

.news-date {
    background: var(--gradient-primary);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-weight: 600;
    font-size: 0.9rem;
    line-height: 1.1;
    flex-shrink: 0;
}

.news-date span {
    font-size: 0.7rem;
    text-transform: uppercase;
}

.news-content {
    flex: 1;
    min-width: 0;
}

.news-item-title {
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.news-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    display: block;
}

.news-link:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.news-meta {
    font-size: 0.8rem;
}

.news-footer {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #f0f0f0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .contact-info-card {
        padding: 2rem 1.5rem;
    }
    
    .contact-item-modern {
        padding: 1rem 0.5rem;
        margin-bottom: 1rem;
    }
    
    .latest-news-card {
        padding: 1.5rem;
        margin-top: 2rem;
    }
    
    .news-item-modern {
        padding: 0.75rem 0;
    }
    
    .news-date {
        width: 40px;
        height: 40px;
        font-size: 0.8rem;
    }
    
    .contact-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: white;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 15% 20%, rgba(255,255,255,0.16) 0%, rgba(255,255,255,0) 35%),
        linear-gradient(120deg, rgba(11, 15, 25, 0.86) 0%, rgba(247, 50, 70, 0.62) 100%);
    opacity: 0.95;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 2.2rem;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(16, 21, 31, 0.52) 0%, rgba(255, 255, 255, 0.08) 100%);
    box-shadow: 0 18px 55px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(10px);
}

.hero-chip {
    display: inline-block;
    margin-bottom: 1rem;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.4px;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.28);
    background: rgba(255,255,255,0.12);
}

.hero-title {
    font-size: clamp(2.2rem, 4.4vw, 3.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.1rem;
    text-shadow: 0 4px 18px rgba(0,0,0,0.45);
    letter-spacing: -0.02em;
}

.text-highlight {
    color: #fff200;
    text-shadow: 0 2px 10px rgba(255,242,0,0.3);
}

.hero-subtitle {
    font-size: clamp(1.05rem, 2.1vw, 1.24rem);
    line-height: 1.72;
    margin-bottom: 2.1rem;
    opacity: 0.94;
    max-width: 670px;
}

.hero-actions {
    margin-bottom: 3rem;
}

.hero-slider-dots {
    display: flex;
    gap: 0.6rem;
    margin: 0;
    align-items: center;
    justify-content: center;
}

.hero-slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: -1.2rem 0 2rem;
    width: 100%;
    max-width: 420px;
}

.hero-nav-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.45);
    background: rgba(0, 0, 0, 0.25);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
    backdrop-filter: blur(3px);
}

.hero-nav-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-1px);
}

.hero-dot {
    width: 22px;
    height: 8px;
    border-radius: 999px;
    border: 0;
    background: rgba(255,255,255,0.38);
    transition: all 0.25s ease;
    cursor: pointer;
}

.hero-dot.active {
    width: 42px;
    background: #fff200;
    box-shadow: 0 0 16px rgba(255, 242, 0, 0.5);
}

.hero-fade {
    opacity: 0.25;
    transition: opacity 0.18s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #ffffff 0%, #f5f7ff 100%);
    color: var(--primary-color);
    border: none;
    padding: 0.95rem 1.85rem;
    font-weight: 600;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(12, 17, 27, 0.28);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-heavy);
    background: var(--light-bg);
    color: var(--primary-color);
}

.btn-outline-light {
    border: 1px solid rgba(255,255,255,0.75);
    color: white;
    padding: 0.95rem 1.85rem;
    font-weight: 600;
    border-radius: 14px;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
}

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

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 1.2rem;
    padding-top: 1.1rem;
    border-top: 1px solid rgba(255,255,255,0.2);
}

.stat-item {
    text-align: center;
    min-width: 95px;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #fff200;
    text-shadow: 0 2px 10px rgba(255,242,0,0.3);
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.88;
    margin-top: 0.25rem;
}

/* Services Section */
.services-section {
    padding: 5rem 0;
    background: var(--light-bg);
}

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

.section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--gray-light);
    max-width: 600px;
    margin: 0 auto;
}

.service-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    height: 100%;
    border: none;
    box-shadow: var(--shadow-light);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
}

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

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    color: var(--accent-color);
}

.service-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--gray-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.service-btn {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.service-btn:hover {
    background: var(--gradient-dark);
    color: white;
    transform: translateY(-2px);
}

/* Why Choose Us Section */
.why-choose-section {
    padding: 5rem 0;
    background: var(--white);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--light-bg);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.feature-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.feature-content h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.feature-content p {
    color: var(--gray-light);
    margin: 0;
    line-height: 1.5;
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    background: var(--gradient-primary);
    color: white;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.cta-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    margin-bottom: 2.5rem;
    line-height: 1.5;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-light {
    background: var(--white);
    color: var(--primary-color);
    border: none;
    padding: 1rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-light:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-heavy);
    color: var(--primary-color);
}

/* Latest Projects Section */
.projects-section {
    padding: 5rem 0;
    background: var(--light-bg);
}

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

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

.project-image {
    height: 200px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 4rem;
}

.project-content {
    padding: 2rem;
}

.project-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.project-content p {
    color: var(--gray-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.project-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.project-link:hover {
    color: var(--accent-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content {
        padding: 1.35rem;
        border-radius: 16px;
    }

    .hero-chip {
        font-size: 0.75rem;
    }

    .hero-stats {
        gap: 1rem;
        justify-content: space-between;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .hero-actions {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-actions .btn {
        width: 100%;
        border-radius: 12px;
    }

    .hero-slider-controls {
        max-width: 100%;
        gap: 0.8rem;
        margin: -0.8rem 0 1.6rem;
    }

    .hero-nav-btn {
        width: 38px;
        height: 38px;
    }

    .hero-dot {
        width: 18px;
        height: 7px;
    }

    .hero-dot.active {
        width: 32px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 576px) {
    .hero-content {
        padding: 1.1rem;
    }

    .hero-title {
        font-size: 1.65rem;
    }

    .hero-subtitle {
        font-size: 0.98rem;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        padding: 2rem 1.5rem;
    }

    .hero-slider-controls {
        gap: 0.6rem;
    }

    .hero-nav-btn {
        width: 34px;
        height: 34px;
    }
}

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

/* Animation utilities */
.animate-fade-in {
    animation: fadeIn 0.8s ease-in-out;
}

.animate-slide-up {
    animation: slideUp 0.8s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { 
        opacity: 0; 
        transform: translateY(30px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

/* Bitdefender Section Styles */
.bitdefender-section {
    position: relative;
    overflow: hidden;
}

.bitdefender-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(230, 57, 70, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(78, 204, 163, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

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

.bitdefender-visual {
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.bitdefender-visual:hover {
    transform: translateY(-10px);
}

@media (max-width: 991px) {
    .bitdefender-section h2 {
        font-size: 2rem;
    }
    
    .bitdefender-visual {
        margin-top: 2rem;
    }
    
    .bitdefender-visual i {
        font-size: 5rem !important;
    }
}

@media (max-width: 576px) {
    .bitdefender-section {
        padding: 3rem 0;
    }
    
    .bitdefender-section h2 {
        font-size: 1.75rem;
    }
    
    .bitdefender-section p {
        font-size: 1rem;
    }
    
    .bitdefender-visual {
        padding: 2rem 1rem;
    }
}