/* STMI Website Styles - Version 1.1 - Updated for cache busting */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #454545;
    background-color: #ffffff;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}


.hero {
    padding: 80px 0 120px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, transparent 0%, #ffffff 100%);
    z-index: 1;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    min-height: calc(100vh - 200px);
    z-index: 2;
}


.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #454545;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.highlight {
    color: #FB4E4E;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #454545;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.hero-contact {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1.5rem;
    flex-wrap: nowrap;
    justify-content: center;
    width: 100%;
    max-width: 800px;
}

.hero-contact-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #454545;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.5rem 0.8rem;
    background: rgba(251, 78, 78, 0.1);
    border-radius: 25px;
    transition: all 0.3s ease;
    border: 1px solid rgba(251, 78, 78, 0.2);
    white-space: nowrap;
    flex-shrink: 0;
}

.hero-contact-link:hover {
    background: rgba(251, 78, 78, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(251, 78, 78, 0.2);
}

.hero-contact-link i {
    color: #FB4E4E;
    font-size: 0.9rem;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: #FB4E4E;
    color: white;
}

.btn-primary:hover {
    background: #e53e3e;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(251, 78, 78, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #FB4E4E;
    border: 2px solid #FB4E4E;
}

.btn-secondary:hover {
    background: #FB4E4E;
    color: white;
    transform: translateY(-2px);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-main-logo {
    height: 200px;
    width: auto;
    max-width: 100%;
}

.services {
    padding: 100px 0;
    background: linear-gradient(to bottom, #f8fafc 0%, #ffffff 100px, #ffffff 100%);
    position: relative;
    z-index: 2;
}

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

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #454545;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.125rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #FB4E4E, #ff6b6b);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-icon {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon i {
    font-size: 5rem;
    color: #FB4E4E;
}

.custom-icon {
    width: 5rem;
    height: 5rem;
    display: block;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #454545;
    margin-bottom: 1rem;
    text-align: center;
}

.service-card p {
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    text-align: center;
}

.service-features {
    list-style: none;
}

.service-features li {
    color: #454545;
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #FB4E4E;
    font-weight: bold;
}

.credentials {
    padding: 100px 0;
    background: #ffffff;
}

.credentials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
    align-items: center;
}

.credential-item {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    transition: all 0.3s ease;
}

.credential-item:hover {
    transform: scale(1.05);
}

.credential-logo {
    max-width: 100%;
    max-height: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.about {
    padding: 100px 0;
    background: #ffffff;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #454545;
    margin-bottom: 1.5rem;
}

.about-text p {
    color: #64748b;
    margin-bottom: 2rem;
    line-height: 1.6;
    font-size: 1.125rem;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-main-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.about-main-image:hover {
    transform: scale(1.02);
}



body {
    margin: 0;
}

@media (max-width: 480px) {
    .hero-contact {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
        margin-top: 1.5rem;
        width: 100%;
        padding: 0 1rem;
    }
    
    .hero-contact-link {
        width: 100%;
        max-width: 280px;
        justify-content: center;
        font-size: 0.85rem;
        padding: 0.6rem 1rem;
        text-align: center;
    }

    .hero-main-logo {
        height: 120px;
    }

    .credentials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer {
        padding: 3rem 1rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 2.5rem;
        text-align: center;
        max-width: 400px;
        margin: 0 auto;
    }

    .footer-logo-section {
        order: -1;
        margin-bottom: 0;
    }

    .footer-logo {
        height: 70px;
        margin-bottom: 1.5rem;
    }

    .footer-info-section {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-section {
        padding: 1.5rem;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 12px;
        backdrop-filter: blur(10px);
    }

    .footer-section h3 {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
        font-weight: 700;
    }

    .footer-section h4 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
        color: rgba(255, 255, 255, 0.9);
        font-weight: 600;
    }

    .footer-section p {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 0.5rem;
        color: rgba(255, 255, 255, 0.9);
    }

    .mini-footer {
        padding: 0.75rem 1rem;
        background: rgba(251, 78, 78, 0.98);
        backdrop-filter: blur(15px);
        border-top: 2px solid rgba(255, 255, 255, 0.2);
    }

    .mini-footer-content {
        flex-direction: row;
        gap: 0.25rem;
        text-align: center;
        justify-content: space-between;
        flex-wrap: nowrap;
    }

    .mini-footer-link {
        font-size: 0.8rem;
        padding: 0.35rem 0.5rem;
        background: rgba(255, 255, 255, 0.15);
        border-radius: 12px;
        transition: all 0.3s ease;
        flex: 1;
        min-width: 0;
        text-align: center;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 30%;
    }

    .mini-footer-link:hover {
        background: rgba(255, 255, 255, 0.25);
        transform: scale(1.02);
    }

    .mini-footer-separator {
        display: none;
    }

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

    .section-header h2 {
        font-size: 2rem;
    }
}

@media (max-width: 375px) {
    .hero {
        min-height: 100vh;
        height: 100vh;
        overflow: hidden;
        padding: 60px 0 100px 0;
    }
    
    .hero-container {
        min-height: calc(100vh - 160px);
    }
    
    .hero-contact {
        margin-top: 1rem;
        gap: 0.4rem;
    }
    
    .hero-contact-link {
        font-size: 0.8rem;
        padding: 0.5rem 0.8rem;
        max-width: 260px;
    }
    
    .services {
        margin-top: 0;
    }
}

html, body {
    height: 100%;
}

.footer {
    background: #FB4E4E;
    color: white;
    padding: 3rem 0;
    margin: 0;
}

.footer-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-logo-section {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.footer-info-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    flex: 1;
}

.footer-logo {
    height: 80px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-section h3 {
    color: white;
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-section h4 {
    color: white;
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-section p {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #FB4E4E;
}


@media (max-width: 768px) {

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-image {
        order: -1;
    }


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

    .hero-buttons {
        justify-content: center;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-image {
        order: -1;
    }
    
    .about-text h2 {
        font-size: 2rem;
    }
    
    .about-text p {
        font-size: 1rem;
    }


    .services-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }

    .credentials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .hero-main-logo {
        height: 150px;
    }
}

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
    }

    .footer-content {
        gap: 2.5rem;
    }

    .footer-info-section {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}


@media (max-width: 375px) {
    .hero {
        padding: 2rem 1rem;
        min-height: auto;
    }

    .hero-container {
        gap: 1.5rem;
    }

    .hero-logo {
        height: 40px;
        margin-bottom: 1rem;
    }

    .hero-title {
        font-size: 1.75rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
    }


    .btn {
        width: 100%;
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }

    .mini-footer {
        padding: 0.5rem 0.75rem;
    }

    .mini-footer-content {
        flex-direction: column;
        gap: 0.4rem;
    }

    .mini-footer-link {
        font-size: 0.75rem;
        padding: 0.4rem 0.6rem;
        flex: none;
        width: 100%;
        text-align: center;
    }

    .footer {
        padding: 1.5rem 0.75rem;
    }

    .footer-content {
        max-width: 100%;
        gap: 1.5rem;
    }

    .footer-logo {
        height: 60px;
        margin-bottom: 1rem;
    }

    .footer-section {
        padding: 1rem 0.75rem;
        margin: 0 0.5rem;
    }

    .footer-section h3 {
        font-size: 1.25rem;
    }

    .footer-section h4 {
        font-size: 1rem;
    }

    .footer-section p {
        font-size: 0.85rem;
    }

    .service-card {
        padding: 1.25rem;
        margin: 0 0.5rem;
    }

    .credentials-grid {
        gap: 1rem;
    }

    .credential-item {
        padding: 0.75rem;
    }

    .credential-logo {
        max-height: 80px;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 250px;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

.btn:focus,
.nav-link:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid #FB4E4E;
    outline-offset: 2px;
}

@media (prefers-contrast: high) {
    .service-card {
        border: 2px solid #000;
    }
    
    .btn-primary {
        background: #000;
        border: 2px solid #000;
    }
    
    .btn-secondary {
        border: 2px solid #000;
        color: #000;
    }
}
