/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #2c5aa0;
    --secondary-blue: #4a7bc8;
    --light-blue: #e8f0ff;
    --dark-gray: #333333;
    --medium-gray: #666666;
    --light-gray: #f5f5f5;
    --white: #ffffff;
    --accent-gray: #8a8a8a;
    --border-color: #e0e0e0;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 4px 20px rgba(0, 0, 0, 0.15);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Navigation */
.header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.navbar {
    background-color: var(--white);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo-image {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--dark-gray);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-blue);
}

.nav-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-blue);
    transition: width 0.3s ease;
}

.nav-link:hover:after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background-color: var(--dark-gray);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--primary-blue);
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 3;
    text-align: center;
}

.hero-content {
    animation: slideInLeft 1s ease-out;
    color: var(--white);
}

.hero-logo {
    margin-bottom: 2rem;
}

.hero-logo-image {
    max-width: 400px;
    width: 100%;
    height: auto;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.company-motto {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--white);
}

.company-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    color: var(--white);
}

.services-button {
    display: inline-block;
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
    border: 2px solid var(--primary-blue);
}

.services-button:hover {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.hero-visual {
    position: relative;
    height: 400px;
}

.technical-bg {
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.technical-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><circle cx="50" cy="50" r="20" fill="none" stroke="rgba(255,255,255,0.2)" stroke-width="1"/><circle cx="150" cy="150" r="30" fill="none" stroke="rgba(255,255,255,0.2)" stroke-width="1"/><line x1="70" y1="50" x2="130" y2="150" stroke="rgba(255,255,255,0.2)" stroke-width="1"/></svg>') repeat;
}

/* About Section */
.about {
    padding: 100px 0;
    background-color: var(--light-gray);
}

.about-content h2 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    text-align: center;
}

.intro-text {
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-item {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.service-item i {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.service-item span {
    font-weight: 600;
    color: var(--dark-gray);
}

/* Services Section */
.services {
    padding: 100px 0;
    background-color: var(--white);
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-blue);
    text-align: center;
    margin-bottom: 3rem;
}

.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--light-gray);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.service-card:hover {
    background-color: var(--white);
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
}

.service-icon {
    background-color: var(--primary-blue);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.service-icon i {
    font-size: 2rem;
    color: var(--white);
}

.service-card h3 {
    font-size: 1.5rem;
    color: var(--dark-gray);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--medium-gray);
    line-height: 1.6;
}

/* Certification Section */
.certification {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--light-blue) 0%, var(--white) 100%);
}

.cert-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4rem;
    align-items: center;
}

.cert-text h2 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 2rem;
}

.cert-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cert-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cert-feature i {
    color: var(--primary-blue);
    font-size: 1.2rem;
}

.cert-feature span {
    font-size: 1.1rem;
    color: var(--dark-gray);
}

.iso-badge {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 3rem;
    border-radius: 50%;
    text-align: center;
    width: 200px;
    height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-hover);
}

.iso-badge i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.iso-badge span {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.iso-badge small {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.contact-card {
    background-color: var(--white);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: var(--shadow-hover);
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-title {
    font-size: 2rem;
    color: #7CB342;
    margin-bottom: 1rem;
    font-weight: 600;
    position: relative;
}

.contact-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: #7CB342;
    margin: 1rem auto;
}

.contact-info {
    margin: 2rem 0;
    text-align: left;
}

.contact-row {
    display: flex;
    margin-bottom: 1rem;
    align-items: flex-start;
}

.contact-label {
    font-weight: 600;
    color: var(--dark-gray);
    min-width: 80px;
    margin-right: 1rem;
}

.contact-value {
    color: var(--medium-gray);
    flex: 1;
}

.contact-link {
    color: #7CB342;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #689F38;
    text-decoration: underline;
}

.contact-button {
    background-color: #546E7A;
    color: var(--white);
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1.5rem;
}

.contact-button:hover {
    background-color: #455A64;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Footer */
.footer {
    background-color: var(--dark-gray);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-info h3 {
    color: var(--primary-blue);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.footer-info p {
    color: var(--light-gray);
    line-height: 1.6;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links a {
    color: var(--light-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-blue);
}

.footer-bottom {
    border-top: 1px solid var(--medium-gray);
    padding-top: 1rem;
    text-align: center;
}

.footer-bottom p {
    color: var(--accent-gray);
    font-size: 0.9rem;
}

/* Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
    .hero-logo-image {
        max-width: 350px;
    }
    
    .company-motto {
        font-size: 1.8rem;
    }
    
    .company-subtitle {
        font-size: 1.2rem;
    }
    
    .contact-details {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media screen and (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 1rem 0;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .hero-logo-image {
        max-width: 280px;
    }
    
    .company-motto {
        font-size: 1.5rem;
    }
    
    .company-subtitle {
        font-size: 1.1rem;
    }
    
    .contact-card {
        padding: 2rem;
    }
    
    .contact-title {
        font-size: 1.8rem;
    }
}

@media screen and (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-container {
        padding: 0 15px;
    }
    
    .logo-image {
        height: 40px;
    }
    
    .hero-logo-image {
        max-width: 220px;
    }
    
    .company-motto {
        font-size: 1.3rem;
    }
    
    .company-subtitle {
        font-size: 1rem;
    }
    
    .services-button {
        padding: 12px 30px;
        font-size: 1.1rem;
    }
    
    .contact-card {
        padding: 1.5rem;
    }
    
    .contact-title {
        font-size: 1.5rem;
    }
    
    .contact-row {
        flex-direction: column;
        margin-bottom: 1.5rem;
    }
    
    .contact-label {
        margin-bottom: 0.5rem;
        margin-right: 0;
    }
}
