/* Custom CSS for ICT-Thuis Website */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500&family=Raleway:wght@100;300;400;500&display=swap');

/* Global Styles */
body {
    font-family: 'Roboto', sans-serif;
    color: #333;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

/* Floating Phone Badge */
.phone-badge {
    position: fixed;
    bottom: 80px;
    right: 20px;
    z-index: 1000;
    background-color: #0db1ea;
    color: white;
    padding: 14px 23px;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(13, 177, 234, 0.3);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

/* Floating WhatsApp Badge */
.whatsapp-badge {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    background-color: #25D366;
    color: white;
    padding: 14px 23px;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

@keyframes phonePulse {
    0% {
        box-shadow: 0 4px 12px rgba(234, 113, 13, 0.3);
    }
    50% {
        box-shadow: 0 4px 20px rgba(234, 113, 13, 0.5);
    }
    100% {
        box-shadow: 0 4px 12px rgba(234, 113, 13, 0.3);
    }
}

.phone-badge:hover {
    box-shadow: 0 6px 20px rgba(13, 177, 234, 0.4);
    background-color: #0aa0d3;
}

.whatsapp-badge:hover {
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    background-color: #20ba5a;
}



.phone-link {
    text-decoration: none;
    color: white;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
}

.phone-icon {
    color: #ffffff;
}

.phone-text {
    font-size: 1rem;
    white-space: nowrap;
}

.whatsapp-link {
    text-decoration: none;
    color: white;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
}

.whatsapp-icon {
    font-size: 1.2rem;
}

.whatsapp-text {
    font-size: 1rem;
    white-space: nowrap;
}







/* Hero Section */
.hero-section {
    background-image: url('../image/background.jpg');
    background-size: cover;
    background-position: center;
    /*background-attachment: fixed;*/
    color: white;
    padding: 120px 0;
    text-align: center;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-family: 'Roboto', sans-serif;
    font-size: 3.5rem;
    font-weight: 400;
    letter-spacing: 0.8rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-family: 'Raleway', sans-serif;
    font-size: 1.3rem;
    font-weight: 300;
    letter-spacing: 0.2rem;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Main Content */
.main-content {
    padding: 60px 0;
    background-color: white;
}

/* Section Titles */
.section-title {
    font-family: 'Raleway', sans-serif;
    font-size: 2.5rem;
    font-weight: 300;
    color: #333;
    text-align: center;
    margin-bottom: 3rem;
    letter-spacing: 0.5rem;
    text-transform: uppercase;
}

/* Introduction Section */
.introduction-section {
    margin-bottom: 80px;
}

.introduction-text {
    font-size: 1.1rem;
    font-weight: 300;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: #555;
}

.introduction-subtitle {
    font-size: 1.2rem;
    font-weight: 500;
    color: #333;
    margin: 0;
}

/* Services Section */
.service-card {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    border: 1px solid #e9ecef;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.service-title {
    font-family: 'Raleway', sans-serif;
    font-size: 1.3rem;
    font-weight: 400;
    color: #333;
    margin-bottom: 1rem;
    letter-spacing: 0.15rem;
    text-align: center;
}

.service-description {
    font-size: 1rem;
    font-weight: 300;
    color: #666;
    line-height: 1.6;
    margin: 0;
    text-align: center;
}

/* Pricing Section */
.pricing-card {
    background-color: #f8f9fa;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
}

.pricing-content {
    text-align: center;
}

.pricing-text {
    font-size: 1.1rem;
    font-weight: 300;
    color: #555;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.pricing-note {
    font-size: 0.9rem;
    color: #888;
    font-style: italic;
    margin: 0;
}

/* Contact Section */
.contact-card {
    background-color: #f8f9fa;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
}

.contact-info {
    margin-bottom: 2rem;
}

.contact-text {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 1rem;
}

.contact-links {
    margin: 1.5rem 0;
}

.contact-link {
    font-family: 'Roboto', sans-serif;
    color: #333;
    font-size: 1.1rem;
    text-decoration: none;
    display: inline-block;
    margin: 0.5rem 0;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #EA710D;
    text-decoration: none;
}

.contact-icon {
    margin-right: 0.5rem;
    font-weight: 500;
}

/* Location / Map */
.location-section {
    margin-top: 1rem;
}

.location-address-card {
    background-color: #f8f9fa;
    padding: 2rem 2.5rem;
    border-radius: 15px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.location-address {
    font-style: normal;
    font-size: 1.15rem;
    font-weight: 300;
    color: #555;
    line-height: 1.8;
}

.location-name {
    font-family: 'Raleway', sans-serif;
    font-size: 1.35rem;
    font-weight: 400;
    color: #333;
    letter-spacing: 0.12rem;
    margin-bottom: 0.75rem;
}

.map-embed {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 320px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
    background: #e9ecef;
}

.map-embed-iframe {
    display: block;
    width: 100%;
    height: 400px;
    border: 0;
}

@media (max-width: 991.98px) {
    .map-embed-iframe {
        height: 320px;
    }

    .location-address-card {
        padding: 1.75rem 1.5rem;
    }
}

/* Contact Form */
.contact-form {
    margin-top: 2rem;
}

.form-control {
    font-family: 'Raleway', sans-serif;
    font-size: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 0.75rem;
    background-color: white;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
    border-color: #EA710D;
    box-shadow: 0 0 0 0.2rem rgba(234, 113, 13, 0.25);
    outline: none;
}

.btn-primary {
    background-color: #EA710D;
    border-color: #EA710D;
    font-family: 'Raleway', sans-serif;
    font-weight: 500;
    padding: 0.75rem 2rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #d6680c;
    border-color: #d6680c;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-primary:focus {
    background-color: #d6680c;
    border-color: #d6680c;
    box-shadow: 0 0 0 0.2rem rgba(234, 113, 13, 0.25);
}

/* Responsive Design */
@media (max-width: 768px) {
    .phone-badge {
        bottom: 75px;
        right: 15px;
        padding: 11.5px 18.4px;
    }
    
    .whatsapp-badge {
        bottom: 15px;
        right: 15px;
        padding: 11.5px 18.4px;
    }
    
    .phone-text,
    .whatsapp-text {
        font-size: 1.035rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
        letter-spacing: 0.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        letter-spacing: 0.1rem;
    }
    
    .section-title {
        font-size: 2rem;
        letter-spacing: 0.3rem;
    }
    
    .service-card {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .pricing-card,
    .contact-card {
        padding: 2rem;
    }
    
    .hero-section {
        padding: 80px 0;
    }
    
    .main-content {
        padding: 40px 0;
    }
}

@media (max-width: 576px) {
    .phone-badge {
        bottom: 65px;
        right: 10px;
        padding: 9.2px 13.8px;
    }
    
    .whatsapp-badge {
        bottom: 10px;
        right: 10px;
        padding: 9.2px 13.8px;
    }
    
    .phone-text,
    .whatsapp-text {
        font-size: 0.92rem;
    }
    

    
    .hero-title {
        font-size: 2rem;
        letter-spacing: 0.3rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        letter-spacing: 0.05rem;
    }
    
    .section-title {
        font-size: 1.5rem;
        letter-spacing: 0.2rem;
    }
    
    .service-card {
        padding: 1rem;
    }
    
    .pricing-card,
    .contact-card {
        padding: 1.5rem;
    }
    
    .hero-section {
        padding: 60px 0;
    }
}

/* Print Styles */
@media print {
    .phone-header {
        display: none;
    }
    
    .hero-section {
        background-image: none;
        background-color: #f8f9fa;
        color: #333;
    }
    
    .hero-section::before {
        display: none;
    }
    
    .btn-primary {
        background-color: #333 !important;
        border-color: #333 !important;
        color: white !important;
    }
}

/* Ensure consistent badge height */
.phone-badge,
.whatsapp-badge {
    min-height: 51px;
}

/* Normalize link line-height for consistent vertical metrics */
.phone-link,
.whatsapp-link {
    line-height: 1;
}

.phone-icon,
.whatsapp-icon {
    font-size: 1.38rem;
}

.phone-text,
.whatsapp-text {
    font-size: 1.15rem;
}

/* Final mobile overrides (kept at end so they win cascade) */
@media (max-width: 768px) {
    .phone-badge,
    .whatsapp-badge {
        right: 14px;
        padding: 10px 16px;
        min-height: 44px;
    }

    .whatsapp-badge {
        bottom: 12px;
    }

    .phone-badge {
        bottom: 68px;
    }

    .phone-icon,
    .whatsapp-icon {
        font-size: 1.1rem;
    }

    .phone-text,
    .whatsapp-text {
        font-size: 0.98rem;
    }
}

@media (max-width: 576px) {
    .phone-badge,
    .whatsapp-badge {
        right: 10px;
        padding: 8px 12px;
        min-height: 40px;
    }

    .whatsapp-badge {
        bottom: calc(10px + env(safe-area-inset-bottom));
    }

    .phone-badge {
        bottom: calc(58px + env(safe-area-inset-bottom));
    }

    .phone-icon,
    .whatsapp-icon {
        font-size: 1rem;
    }

    .phone-text,
    .whatsapp-text {
        font-size: 0.9rem;
    }
}
