/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background-color: #f5f7fa;
}

/* Header and Navigation */
header {
    background: linear-gradient(135deg, #1a3a52 0%, #2c5aa0 100%);
    box-shadow: 0 4px 12px rgba(26, 58, 82, 0.3);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.logo h1 {
    color: #fff;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 6px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #fff;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #fff;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
#hero {
    background: linear-gradient(135deg, rgba(26, 58, 82, 0.5) 0%, rgba(44, 90, 160, 0.5) 100%), url('hero.jpg') center/cover no-repeat;
    color: white;
    padding: 140px 2rem 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.hero-content h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: #ffffff;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 1;
    line-height: 1.8;
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #00a8a8 0%, #008080 100%);
    color: #fff;
    padding: 14px 35px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 168, 168, 0.3);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.cta-button:hover {
    background: linear-gradient(135deg, #008080 0%, #00a8a8 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 168, 168, 0.4);
}

/* Sections */
section {
    padding: 80px 2rem;
}
/* Sections */
section {
    padding: 100px 2rem;
}

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

h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    text-align: center;
    color: #2c3e50;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.section-subtitle {
    text-align: center;
    color: #7f8c8d;
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

/* About Section */
#about {
    background-color: #fff;
}

#about p {
    font-size: 1.1rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    color: #555;
    line-height: 1.8;
}

/* Services Section */
#services {
    background: linear-gradient(135deg, #f5f7fa 0%, #f0f0f5 100%);
}

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

.service-item {
    background-color: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #eee;
    position: relative;
    overflow: hidden;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #00a8a8 0%, #008080 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

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

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-item h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 700;
}

.service-item p {
    color: #666;
    line-height: 1.7;
}

.service-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 168, 168, 0.2);
}

/* Products Section */
#products {
    background-color: #fff;
}

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

.product-card {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 168, 168, 0.25);
}

.product-image {
    overflow: hidden;
    height: 280px;
    background-color: #f9f9f9;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.product-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-content {
    padding: 2rem;
}

.product-content h3 {
    color: #00a8a8;
    margin-bottom: 1rem;
    font-size: 1.6rem;
    font-weight: 700;
}

.product-description {
    color: #555;
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-size: 0.95rem;
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.feature-tag {
    background: linear-gradient(135deg, #00a8a8 0%, #008080 100%);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.product-button {
    display: inline-block;
    background: linear-gradient(135deg, #00a8a8 0%, #008080 100%);
    color: white;
    padding: 12px 28px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 168, 168, 0.3);
    border: none;
    cursor: pointer;
}

.product-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 168, 168, 0.4);
}

/* Contact Section */
#contact {
    background: linear-gradient(135deg, #f5f7fa 0%, #f0f0f5 100%);
}

#contact p {
    text-align: center;
    margin-bottom: 2rem;
    color: #555;
    font-size: 1.1rem;
}

.contact-content {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.contact-card {
    background-color: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    border: 1px solid #eee;
    max-width: 500px;
    text-align: center;
}

.contact-card h3 {
    color: #1a3a52;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.contact-card p {
    color: #555;
    margin-bottom: 2rem;
}

.contact-email {
    display: block;
    font-size: 1.3rem;
    color: #00a8a8;
    text-decoration: none;
    font-weight: 700;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.contact-email:hover {
    color: #008080;
    text-decoration: underline;
}

.form-group {
    margin-bottom: 2rem;
}

label {
    display: block;
    margin-bottom: 0.7rem;
    font-weight: 700;
    color: #2c3e50;
    font-size: 0.95rem;
}

input, textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #eee;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #f9f9f9;
    font-family: inherit;
}

input:focus, textarea:focus {
    outline: none;
    border-color: #00a8a8;
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(0, 168, 168, 0.1);
}

textarea {
    resize: vertical;
    min-height: 140px;
}

#contact-form .cta-button {
    width: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    cursor: pointer;
    margin-top: 1rem;
}

#contact-form .cta-button:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

#contact-form .cta-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Stats Section */
#stats {
    background-color: #fff;
    padding: 80px 2rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item h3 {
    font-size: 3rem;
    background: linear-gradient(135deg, #00a8a8 0%, #008080 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

/* Testimonials Section */
#testimonials {
    background-color: #f5f7fa;
}

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

.testimonial-item {
    background-color: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    font-style: italic;
    border-left: 4px solid #00a8a8;
    transition: all 0.3s ease;
}

.testimonial-item:hover {
    box-shadow: 0 8px 20px rgba(0, 168, 168, 0.15);
    transform: translateY(-5px);
}

.testimonial-item cite {
    display: block;
    margin-top: 1.5rem;
    font-weight: 700;
    color: #00a8a8;
    font-style: normal;
}

/* Back to Top Button */
#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #00a8a8 0%, #008080 100%);
    color: white;
    border: none;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(0, 168, 168, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

#back-to-top.show {
    opacity: 1;
    visibility: visible;
}

#back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 168, 168, 0.4);
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.animate {
    opacity: 1;
    transform: translateY(0);
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink-caret {
    from, to { border-color: transparent; }
    50% { border-color: white; }
}

#hero-text {
    overflow: hidden;
    border-right: 3px solid white;
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
    animation: typing 3.5s steps(40, end), blink-caret 0.75s step-end infinite;
    max-width: 100%;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 3rem 2rem 2rem;
    text-align: center;
    margin-top: 3rem;
}

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

footer p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.footer-links {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: #ecf0f1;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 600;
}

.footer-links a:hover {
    color: #00a8a8;
}

/* Responsive Design */
@media (max-width: 1024px) {
    section {
        padding: 80px 2rem;
    }
    
    h2 {
        font-size: 2.3rem;
    }
    
    .cta-button {
        padding: 12px 28px;
        font-size: 0.95rem;
    }
}

@media (max-width: 768px) {
    /* Navigation */
    nav {
        padding: 1rem;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: linear-gradient(135deg, #1a3a52 0%, #2c5aa0 100%);
        width: 100%;
        height: calc(100vh - 70px);
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        gap: 0;
        padding: 2rem 0;
        z-index: 999;
        overflow-y: auto;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links li {
        margin: 0;
    }
    
    .nav-links a {
        display: block;
        padding: 1.5rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-links a::after {
        display: none;
    }
    
    .logo h1 {
        font-size: 1.4rem;
    }
    
    /* Hero Section */
    #hero {
        padding: 100px 1.5rem 80px;
        min-height: auto;
    }
    
    .hero-content {
        max-width: 100%;
        padding: 0 0.5rem;
    }
    
    .hero-content h2 {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }
    
    .hero-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        line-height: 1.6;
        word-wrap: break-word;
        overflow-wrap: break-word;
        word-break: break-word;
    }
    
    #hero-text {
        white-space: normal;
        border-right: none;
        animation: none;
        display: block;
    }
    
    /* Sections */
    section {
        padding: 60px 1.5rem;
    }
    
    h2 {
        font-size: 2rem;
        margin-bottom: 0.8rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    /* Services, Products, Testimonials */
    .services-grid,
    .products-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-item,
    .product-card,
    .testimonial-item {
        padding: 1.5rem;
    }
    
    .service-icon {
        font-size: 2.5rem;
    }
    
    .product-image {
        height: 200px;
        padding: 1.5rem;
    }
    
    .product-content {
        padding: 1.5rem;
    }
    
    .product-content h3 {
        font-size: 1.3rem;
    }
    
    /* Contact */
    .contact-card {
        padding: 2rem;
        max-width: 100%;
    }
    
    .contact-email {
        font-size: 1.1rem;
    }
    
    /* Forms */
    #contact-form {
        padding: 2rem 1.5rem;
    }
    
    .form-group {
        margin-bottom: 1.5rem;
    }
    
    input, textarea {
        padding: 10px 12px;
        font-size: 1rem;
    }
    
    /* Stats */
    .stat-item h3 {
        font-size: 2.5rem;
    }
    
    /* Back to Top */
    #back-to-top {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 14px;
    }
    
    /* Header */
    header {
        box-shadow: 0 2px 8px rgba(26, 58, 82, 0.2);
    }
    
    .logo h1 {
        font-size: 1.2rem;
        letter-spacing: 0px;
    }
    
    /* Hero */
    #hero {
        padding: 80px 1rem 60px;
    }
    
    .hero-content h2 {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
    }
    
    .hero-content p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
        line-height: 1.5;
        word-wrap: break-word;
        overflow-wrap: break-word;
        word-break: break-word;
        display: block;
    }
    
    #hero-text {
        white-space: normal !important;
        border-right: none !important;
        animation: none !important;
        display: block !important;
        max-width: 100% !important;
    }
    
    .cta-button {
        padding: 11px 24px;
        font-size: 0.9rem;
    }
    
    /* Sections */
    section {
        padding: 50px 1rem;
    }
    
    h2 {
        font-size: 1.6rem;
        margin-bottom: 0.6rem;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    
    /* Content */
    #about p,
    #contact p {
        font-size: 0.95rem;
    }
    
    .service-item {
        padding: 1.2rem;
    }
    
    .service-item h3 {
        font-size: 1.1rem;
        margin-bottom: 0.7rem;
    }
    
    .service-item p {
        font-size: 0.9rem;
    }
    
    .service-icon {
        font-size: 2rem;
        margin-bottom: 0.8rem;
    }
    
    /* Products */
    .product-card {
        border-radius: 8px;
    }
    
    .product-image {
        height: 180px;
        padding: 1rem;
    }
    
    .product-content {
        padding: 1.2rem;
    }
    
    .product-content h3 {
        font-size: 1.2rem;
        margin-bottom: 0.7rem;
    }
    
    .product-description {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .feature-tag {
        padding: 0.3rem 0.6rem;
        font-size: 0.75rem;
    }
    
    .product-button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    /* Contact */
    .contact-card {
        padding: 1.5rem;
    }
    
    .contact-card h3 {
        font-size: 1.3rem;
    }
    
    .contact-email {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    /* Forms */
    #contact-form {
        padding: 1.5rem;
    }
    
    label {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    
    input, textarea {
        padding: 9px 10px;
        font-size: 0.9rem;
    }
    
    textarea {
        min-height: 100px;
    }
    
    /* Stats */
    .stat-item h3 {
        font-size: 2rem;
    }
    
    .stat-item p {
        font-size: 0.9rem;
    }
    
    /* Footer */
    footer {
        padding: 2rem 1rem 1.5rem;
    }
    
    footer p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .footer-links {
        gap: 1rem;
    }
    
    .footer-links a {
        font-size: 0.9rem;
    }
    
    /* Back to Top */
    #back-to-top {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
        bottom: 15px;
        right: 15px;
    }
}   transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.animate {
    opacity: 1;
    transform: translateY(0);
}

.service-item {
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink-caret {
    from, to { border-color: transparent; }
    50% { border-color: white; }
}

#hero-text {
    overflow: hidden;
    border-right: 2px solid white;
    white-space: nowrap;
    animation: typing 3.5s steps(40, end), blink-caret 0.75s step-end infinite;
}