/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

/* Color Variables */
:root {
    --primary-color: #3FA796;
    --secondary-color: #17494D;
    --accent-color: #39A7FF;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --medium-gray: #6c757d;
    --dark-gray: #343a40;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 2rem;
}

h4 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: var(--medium-gray);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(63, 167, 150, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background-color: var(--white);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.logo {
    height: 40px;
    width: auto;
}

.nav-company-name {
    font-family: 'Cinzel', serif;
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--secondary-color);
    letter-spacing: 0.5px;
    text-align: center;
    line-height: 1;
    margin-top: 2px;
}

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

.nav-link {
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 600;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--dark-gray);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;
    background-color: #000; /* Fallback color */
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding: 0 20px;
}

.hero-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
    text-align: center;
}

.hero-logo-img {
    height: 130px;
    margin-bottom: 0rem;
    filter: brightness(0) invert(1) drop-shadow(3px 3px 6px rgba(0, 0, 0, 0.8));
    animation: fadeInUp 1s ease-out both;
}

.hero-company-name {
    font-family: 'Cinzel', serif;
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--white);
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8), 1px 1px 3px rgba(0, 0, 0, 0.9);
    letter-spacing: 1.5px;
    animation: fadeInUp 1s ease-out 0.2s both;
    margin: 0;
    text-align: center;
    white-space: nowrap;
}

.hero-motto {
    text-align: center;
    margin-bottom: 2.5rem;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.motto-line {
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    font-weight: 300;
    color: #ffffff;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8), 1px 1px 2px rgba(0, 0, 0, 0.9);
    font-style: italic;
    letter-spacing: 0.2px;
    line-height: 1.4;
}

.motto-line:last-child {
    margin-bottom: 0;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.6s both;
}

/* About Section */
/* About Section Styling */
.about-section {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.about-company {
    margin-bottom: 4rem;
    text-align: center;
}

.about-company h2 {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    font-size: 2.2rem;
    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
}

.about-company h2:after {
    content: '';
    position: absolute;
    width: 60%;
    height: 3px;
    background: var(--primary-color);
    bottom: 0;
    left: 20%;
}

.about-company p {
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto 1.5rem;
    text-align: justify;
    text-align-last: center;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: start;
    margin-top: 2rem;
    align-items: stretch;
}

.ceo-photo {
    width: 100%;
    max-width: 400px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.ceo-photo:hover {
    transform: translateY(-5px);
}

.about-text {
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.about-text h3 {
    color: var(--primary-color);
    margin: 0 0 1.5rem 0;
    font-size: 1.8rem;
    position: relative;
    padding-bottom: 0.8rem;
    text-align: center;
}

.about-text h3:after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background: var(--accent-color);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.about-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin: 0 0 1.2rem 0;
    color: var(--gray-700);
    text-align: justify;
}

.about-founder {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 0;
    margin-top: 0;
    border-top: none;
}

/* Mission & Vision Section */
.mission-vision {
    padding: 100px 0;
    background-color: var(--white);
}

.mission-vision-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.mission,
.vision {
    text-align: center;
    padding: 2rem;
}

.icon-wrapper {
    width: 80px;
    height: 80px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: transform 0.3s ease;
}

.icon-wrapper:hover {
    transform: scale(1.1);
}

.icon-wrapper i {
    font-size: 2rem;
    color: var(--white);
}

.mission h3,
.vision h3 {
    color: var(--secondary-color);
}

/* Unique Features Section */
.unique-features {
    padding: 100px 0;
    background-color: var(--light-gray);
}

.unique-features h2 {
    text-align: center;
    color: var(--secondary-color);
    margin-bottom: 3rem;
}

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

.features-text p {
    font-size: 1.1rem;
    line-height: 1.8;
}

.features-properties {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.property-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.property-item:hover {
    transform: translateX(10px);
}

.property-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    width: 30px;
}

.property-item span {
    font-weight: 600;
    color: var(--secondary-color);
}

/* Applications Section */
.applications {
    padding: 100px 0;
    background-color: var(--white);
}

.applications h2 {
    text-align: center;
    color: var(--secondary-color);
    margin-bottom: 3rem;
}

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

.application-item {
    text-align: center;
    padding: 2rem;
    background-color: var(--light-gray);
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.application-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.app-icon {
    width: 80px;
    height: 80px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: background-color 0.3s ease;
}

.application-item:hover .app-icon {
    background-color: var(--secondary-color);
}

.app-icon i {
    font-size: 2rem;
    color: var(--white);
}

.application-item h4 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

/* Specifications Section */
.specifications {
    padding: 100px 0;
    background-color: var(--light-gray);
}

.specifications h2 {
    text-align: center;
    color: var(--secondary-color);
    margin-bottom: 3rem;
}

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

.spec-table-wrapper {
    overflow-x: auto;
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.spec-table th,
.spec-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.spec-table th {
    background-color: var(--primary-color);
    color: var(--white);
    font-weight: 600;
}

.spec-table tr:hover {
    background-color: var(--light-gray);
}

.product-image {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Company Facts Section */
.company-facts {
    padding: 100px 0;
    background-color: var(--white);
}

.company-facts h2 {
    text-align: center;
    color: var(--secondary-color);
    margin-bottom: 3rem;
}

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

.fact-item {
    text-align: center;
    padding: 2rem;
    background-color: var(--light-gray);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.fact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.fact-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.fact-item h4 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

/* Certificates Section */
.certificates {
    padding: 100px 0;
    background-color: var(--light-gray);
}

.certificates h2 {
    text-align: center;
    color: var(--secondary-color);
    margin-bottom: 3rem;
}

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

.certificate-item {
    text-align: center;
    padding: 2rem;
    background-color: var(--white);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.certificate-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.cert-badge {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
    border-radius: 10px;
}

.certificate-item h4 {
    color: var(--secondary-color);
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background-color: var(--white);
}

.contact h2 {
    text-align: center;
    color: var(--secondary-color);
    margin-bottom: 3rem;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    width: 30px;
    text-align: center;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.contact-item>div {
    flex: 1;
}

.contact-item h4 {
    color: var(--secondary-color);
    margin: 0 0 0.25rem 0;
    font-size: 1.1rem;
}

.contact-item p {
    margin: 0;
    color: var(--gray-700);
    line-height: 1.5;
}

.contact-form {
    background-color: var(--light-gray);
    padding: 2rem;
    border-radius: 15px;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Footer */
.footer {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

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

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

.footer-section ul li a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

.footer-section p {
    color: #ccc;
    margin-bottom: 0.5rem;
}

.footer-section i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #444;
    color: #ccc;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    color: var(--white);
    font-size: 1.8rem;
    text-decoration: none;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 90px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero {
        min-height: calc(100vh - 60px);
        /* Subtract navbar height */
        height: auto;
        padding: 40px 0;
        margin-top: 60px;
        /* Match navbar height */
    }

    .hero-logo-img {
        height: 80px;
        margin-bottom: 0.2rem;
        max-width: 85%;
        object-fit: contain;
    }

    .hero-company-name {
        font-size: 1.6rem;
        letter-spacing: 1px;
        white-space: normal;
        padding: 0 15px;
    }

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

    .motto-line {
        font-size: 0.9rem;
        padding: 0 10px;
    }

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

    .btn {
        width: 200px;
    }

    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .mission-vision-content {
        grid-template-columns: 1fr;
    }

    .features-content {
        grid-template-columns: 1fr;
    }

    .spec-content {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    .container {
        padding: 0 15px;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-btn {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .contact-item {
        flex-direction: row;
        align-items: flex-start;
    }

    .contact-item i {
        margin-top: 0.25rem;
    }
}

@media (max-width: 480px) {
    .nav-company-name {
        font-size: 0.6rem;
    }

    .hero {
        min-height: calc(100vh - 60px);
        /* Subtract navbar height */
        padding: 30px 0;
        margin-top: 60px;
        /* Match navbar height */
    }

    .hero-logo-img {
        height: 65px;
        margin-bottom: 0.1rem;
    }

    .hero-company-name {
        font-size: 1.4rem;
        letter-spacing: 0.5px;
        line-height: 1.3;
    }

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

    .motto-line {
        font-size: 0.85rem;
        margin-bottom: 0.4rem;
        line-height: 1.4;
    }

    .applications-grid,
    .facts-grid,
    .certificates-grid {
        grid-template-columns: 1fr;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
        width: 180px;
    }

    .hero-content {
        padding: 0 15px;
    }
}