/* ============================================
   RESET & BASE
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #f8f9fa;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* CSS pou paj akey la */
.hero-carousel {
    background: #104d9b;
    height: max-content;
    padding: 64px 32px;
    position: relative;
}

.slide-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    color: white;
}

.slide-text {
    flex: 1;
    max-width: 600px;
}

.slide-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.slide-subtitle {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 500px;
}

.slide-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-slide-primary, .btn-slide-secondary {
    padding: 16px 30px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    font-size: 16px;
    transition: all 0.3s;
}

.btn-slide-primary {
    background: #f14337;
    color: white;
}

.btn-slide-primary:hover {
    background: #d32f2f;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(241, 67, 55, 0.3);
}

.btn-slide-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-slide-secondary:hover {
    background: white;
    color: #104d9b;
    transform: translateY(-3px);
}

.slide-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.slide-image img {
    max-width: 100%;
    max-height: 500px;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

@media (max-width: 992px) {
    .slide-content {
        flex-direction: column;
        text-align: center;
        justify-content: center;
        gap: 40px;
    }
    
    .slide-title {
        font-size: 2.8rem;
    }
    
    .slide-subtitle {
        font-size: 1.1rem;
    }
    
    .slide-buttons {
        justify-content: center;
    }
    
    .slide-image {
        justify-content: center;
    }
    
    .slide-image img {
        max-height: 300px;
    }
}

@media (max-width: 768px) {
    .hero-carousel {
        height: 70vh;
        min-height: 500px;
    }
    
    .slide-title {
        font-size: 2.2rem;
    }
    
    .slide-subtitle {
        font-size: 1rem;
    }
    
    .btn-slide-primary, .btn-slide-secondary {
        padding: 14px 25px;
        font-size: 15px;
    }
}

@media (max-width: 576px) {
    .hero-carousel {
        height: 60vh;
        min-height: 400px;
    }
    
    .slide-title {
        font-size: 1.8rem;
    }
    
    .slide-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn-slide-primary, .btn-slide-secondary {
        width: 100%;
        justify-content: center;
    }
}

.stats-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.stat-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.stat-icon {
    font-size: 40px;
    color: #104d9b;
    margin-bottom: 15px;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #104d9b;
    margin-bottom: 5px;
}

.stat-label {
    color: #666;
    font-size: 14px;
}

.services-section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 2.5rem;
    color: #104d9b;
    margin-bottom: 15px;
}

.section-subtitle {
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.service-card {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
}

.service-icon {
    font-size: 50px;
    color: #104d9b;
    margin-bottom: 20px;
}

.service-title {
    font-size: 1.3rem;
    color: #104d9b;
    margin-bottom: 15px;
}

.service-description {
    color: #666;
    margin-bottom: 20px;
}

.service-link {
    color: #f14337;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
}

.service-link i {
    margin-left: 5px;
}

/* Responsive grid */
@media (max-width: 992px) {
    .stats-grid,
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .slide-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .stats-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .slide-title {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

/* ============================================
   FOOTER (POU KONPLIT)
============================================ */
.main-footer {
    background: #104d9b;
    color: white;
    padding: 60px 0 30px;
    margin-top: 16px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.footer-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
    color: rgba(255,255,255,0.7);
    font-size: 14px;
}

.footer-social{
    display: flex;
    gap: 16px;
}

.social-link{
    width: 30px; height: 30px;
    color: #104d9b;
    background-color: white;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
}

.footer-contact{
    list-style: none;
}

.footer-contact li{
    display: flex;
    align-items: center;
    gap: 8px;
    a{
        color: white;
    }
}

.footer-contact li:not(:last-child){
    margin-bottom: 16px;
}

.subscribe-group{
    display: flex;
}

.subscribe-group input{
    padding: 8px;
    flex-shrink: 1;
    outline: none;
}

.subscribe-group button{
    flex: 0 0 50px;
    background-color: #d32f2f;
    color: white;
    border: none;
}

.copyright a{
    color: white;
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}



/* ============================================
   ABOUT PAGE COMPONENTS
============================================ */
/* Animation Classes */
.fade-in {
    animation: fadeIn 0.8s ease forwards;
}

.slide-up {
    animation: slideUp 0.8s ease forwards;
}

.slide-left {
    animation: slideLeft 0.8s ease forwards;
}

.slide-right {
    animation: slideRight 0.8s ease forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideLeft {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideRight {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Timeline Responsive Fix */
@media (max-width: 768px) {
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        width: calc(100% - 60px);
        margin-left: 60px !important;
        margin-right: 0 !important;
    }
    
    .timeline-item::before {
        left: -50px !important;
        right: auto !important;
    }
}

/* Loading Animation */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #104d9b;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #eab10f;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}



/* ============================================
   CONTACT PAGE COMPONENTS
============================================ */
/* Form Validation Styles */
.form-control.error {
    border-color: #f14337;
    background: rgba(241, 67, 55, 0.05);
}

.form-control.error:focus {
    box-shadow: 0 0 0 3px rgba(241, 67, 55, 0.1);
}

.error-message {
    color: #f14337;
    font-size: 0.85rem;
    margin-top: 5px;
    display: block;
    animation: fadeIn 0.3s ease;
}

/* Success Message Animation */
@keyframes slideInDown {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.success-message {
    animation: slideInDown 0.5s ease;
}

/* Map Fallback */
.map-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: #f8f9fa;
    text-align: center;
    padding: 20px;
}

/* Phone Number Formatting */
.phone-formatted {
    font-family: monospace;
    letter-spacing: 0.5px;
}

/* Loading Overlay for Form */
.form-loading {
    position: relative;
}

.form-loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

/* Accessibility Improvements */
.form-control:focus-visible {
    outline: 2px solid #104d9b;
    outline-offset: 2px;
}

button:focus-visible,
a:focus-visible {
    outline: 2px solid #104d9b;
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .contact-hero,
    .contact-cta,
    .scroll-to-top {
        display: none !important;
    }
    
    .contact-form-container {
        box-shadow: none !important;
        border: 1px solid #ddd !important;
    }
    
    .map-container {
        height: 300px !important;
    }
}



/* ============================================
   SERVICES PAGE COMPONENTS
============================================ */
/* Service Categories */
.service-category-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-right: 8px;
}

.category-local {
    background: #e8f1ff;
    color: #104d9b;
}

.category-international {
    background: #fff3cd;
    color: #856404;
}

.category-business {
    background: #d4edda;
    color: #155724;
}

.category-mobile {
    background: #d1ecf1;
    color: #0c5460;
}

/* Service Comparison */
.comparison-highlight {
    background: linear-gradient(120deg, rgba(234, 177, 15, 0.1) 0%, rgba(234, 177, 15, 0.05) 100%);
    position: relative;
}

.comparison-highlight::before {
    content: '✓ Pi Bon';
    position: absolute;
    top: 10px;
    right: 10px;
    background: #25D366;
    color: white;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 600;
}

/* Step Animation */
@keyframes stepPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.step-card:hover .step-number {
    animation: stepPulse 1.5s infinite;
}

/* Service Feature Icons */
.feature-icon {
    width: 40px;
    height: 40px;
    background: #e8f1ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.feature-icon i {
    color: #104d9b;
    font-size: 18px;
}

/* Price Tags */
.price-tag {
    display: inline-block;
    background: linear-gradient(135deg, #25D366 0%, #1DA851 100%);
    color: white;
    padding: 3px 10px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Service Availability */
.availability-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.available {
    background: #d4edda;
    color: #155724;
}

.limited {
    background: #fff3cd;
    color: #856404;
}

.unavailable {
    background: #f8d7da;
    color: #721c24;
}

/* Loading Animation for Location Search */
@keyframes searchPulse {
    0% { opacity: 0.6; }
    50% { opacity: 1; }
    100% { opacity: 0.6; }
}

.loading-text {
    animation: searchPulse 1.5s infinite;
}

/* Print Styles for Services */
@media print {
    .services-hero,
    .services-cta,
    .scroll-to-top,
    .service-action {
        display: none !important;
    }
    
    .service-detail-card {
        break-inside: avoid;
        box-shadow: none !important;
        border: 1px solid #ddd !important;
    }
    
    .comparison-table {
        box-shadow: none !important;
        border: 1px solid #ddd !important;
    }
    
    .steps-container {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
    }
}