*{
margin:0;
padding:0;
box-sizing:border-box;
}

body{
font-family:Arial, Helvetica, sans-serif;
color:#333;
line-height:1.6;
background:#e2ece6;
}

html {
    scroll-behavior: smooth;
}

/*********************************HEADER*********************************/

.header{
background:#0c3f34;
box-shadow:0 2px 10px rgba(0,0,0,0.05);
color:white;
display:flex;
justify-content:space-between;
align-items:center;
padding:20px 10%;
}

.logo{
font-size:22px;
font-weight:bold;
}

.phone{
    font-size:18px;
    font-weight:600;
}

.phone a{
    text-decoration:none;
    color:#2c7a4b;
}

.phone a:hover{
    text-decoration:underline;
}

nav a{
color:white;
margin-left:25px;
text-decoration:none;
font-size:15px;
}

nav a:hover{
opacity:0.7;
}

/*********************************HERO*********************************/

.hero{
height:600px;
background:linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)),url("../images/hero.jpg") center/cover;
display:flex;
flex-direction:column;
justify-content:center;
align-items:flex-start;
padding-left:10%
color:white;
text-align:left;
}

.hero h1{
font-family:'Cormorant', serif;
font-size:60px;
margin-bottom:10px;
color:white;
}

.hero p{
font-family:'Cormorant', serif;
max-width:600px;
font-size:30px;
color:white;
}

.hero-btn{
display:inline-block;
margin-top:80px;
padding:12px 28px;
background:#2e7d32;
color:white;
text-decoration:none;
font-weight:600;
border-radius:6px;
transition:0.3s;
}

.hero-btn:hover{
background:#1b5e20;
}

/*********************************SECTION*********************************/

section{
padding:60px 10%;
}

.industrial-app{
position:relative;
padding:80px 0;
background-image:url("img/cashew-bg.jpg");
background-size:cover;
background-position:center;
}

.industrial-app::before{
content:"";
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(255,255,255,0.75);
}

.industrial-app .container{
position:relative;
z-index:2;
}
/*********************************ABOUT*********************************/

.about-grid{
display:grid;
grid-template-columns:1fr 1fr;
gap:30px;
align-items:center;
}

.about-img,
.about-text {
    opacity: 0;
}

/* khi hiện */
.show-img {
    animation: imgReveal 1s ease forwards;
}

.show-text {
    animation: textReveal 1s ease forwards;
    animation-delay: 0.4s;
}

/* animation */
@keyframes imgReveal {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes textReveal {
    from {
        opacity: 0;
        transform: translateX(60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
/*********************************ABOUT2*********************************/

.about2-section {
max-width:1200px;
margin:auto;
padding: 80px 10%;
background: #f3f6f4;
}

.about2 h2 {
font-size: 36px;
margin-bottom: 20px;
}

.about2 img {
width: 60%;
border-radius: 12px;
display: block;
margin: 0 auto;
box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.about2 p {
text-align: justify;   /* căn đều 2 bên */
line-height: 1.5;      /* khoảng cách dòng dễ đọc */
margin-bottom: 16px;   /* khoảng cách giữa các đoạn */
margin-top: 16px;
}

.about-cta{
    text-align:center;
    margin-top:60px;
    padding:40px;
    background:#f3f7f4;
    border-left:5px solid #2c7a4b;
    border-right:5px solid #2c7a4b;
    border-radius:10px;
    border-top:2px solid #ddd;
    border-bottom:2px solid #ddd;
}

.about-cta p{
    font-size:18px;
    margin-bottom:20px;
}

.contact-btn{
    display:inline-block;
    padding:12px 28px;
    background:#2c7a4b;
    color:white;
    text-decoration:none;
    border-radius:6px;
    font-weight:600;
    transition:0.3s;
}

.contact-btn:hover{
    background:#245e3b;
}

.list{
    padding-left:20px;
text-align: justify; 
}

.list li{
    margin-bottom:12px;
    line-height:1.6;
}
/*********************************APPLICATIONS*********************************/

.grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:30px;
}

.card{
display:block;
background:#f3f7f5;
padding:20px;
border-radius:10px;
text-decoration:none;
color:#333;
transition:0.3s;
}

.card a{
text-decoration:none;
color:#333;
display:block;
}

.card:hover{
transform:translateY(-6px);
box-shadow:0 10px 20px rgba(0,0,0,0.1);
}

.card img{
width:100%;
height:300px;
object-fit:cover;
border-radius:8px;
margin-bottom:10px;
}

.card:hover .more{
color:#0c3f34;
}

.more{
display:inline-block;
margin-top:10px;
text-decoration:none;
color:#2e7d32;
font-weight:600;
}

.more:hover{
color:#0c3f34;
text-decoration:underline;
}

/*********************************NEWS*********************************/

.news-section{
padding:80px 10%;
}

.news-container{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
gap:40px;
margin-top:40px;
}

.news-card{
display:flex;
flex-direction:column;
justify-content:space-between;
background:#f3f7f5;
border-radius:10px;
padding:20px;
height:100%;
text-decoration:none;
color:inherit;
}

.news-grid{
display:grid;
grid-template-columns:repeat(2,1fr);
gap:30px;
}


.news-card:hover{
transform:translateY(-8px);
}

.news-card img{
width:100%;
height:300px;
object-fit:cover;
transition:0.3s;
}

.news-card:hover img{
transform:scale(1.05);
}

.news-card h3{
font-size:20px;
padding:20px 20px 10px;
}

.news-card p{
padding:0 20px 20px;
color:#555;
}

.read-more{
display:block;
padding:0 20px 20px;
text-decoration:none;
color:#2e7d32;
font-weight:600;
}

.read-more:hover{
text-decoration:underline;
}

/********************ARTICLE******************/
.article{
max-width:1200px;
margin:auto;
padding:80px 10%;
background: #f3f6f4;
}

.article h1{
font-size:36px;
margin-bottom:10px;
}

.article-date{
color:#888;
margin-bottom:30px;
}

.article-image{
width:80%;
border-radius:8px;
margin-bottom:30px;
display: block;
margin: 0 auto;
}

.article p{
margin-bottom:20px;
line-height:1.7;
text-align: justify;
}

.article-source{
margin-top:30px;
padding-left:20px;
}

.article-source li{
margin-bottom:10px;
}
/*********************************CONTACT*********************************/

.contact-section{
padding:90px 10%;
}

.contact-container{
display:flex;
gap:80px;
flex-wrap:wrap;
align-items:flex-start;
}

/*******LEFT*******/

.contact-info{
flex:1;
min-width:300px;
}

.contact-info h2{
font-size:32px;
margin-bottom:15px;
}

.contact-desc{
margin-bottom:30px;
color:#555;
max-width:400px;
}

.info-item{
display:flex;
align-items:center;
gap:10px;
margin-bottom:15px;
font-size:16px;
}

.info-item span{
font-size:20px;
}

/********RIGHT********/

.contact-form{
flex:1;
min-width:320px;
background:#f3f7f5;
padding:30px;
border-radius:10px;
box-shadow:0 10px 30px rgba(0,0,0,0.08);
}

.contact-form form{
display:flex;
flex-direction:column;
gap:15px;
}

.contact-form input,
.contact-form textarea{
padding:12px 14px;
border:1px solid #ddd;
border-radius:6px;
font-size:14px;
}

.contact-form textarea{
min-height:120px;
resize:vertical;
}

.contact-form button{
margin-top:10px;
padding:14px;
background:#2e7d32;
color:white;
border:none;
border-radius:6px;
font-size:15px;
font-weight:600;
cursor:pointer;
transition:0.3s;
}

.contact-form button:hover{
background:#1b5e20;
}
/*********************************FOOTER*********************************/

.footer{
background:#0c3f34;
color:#ddd;
padding:50px 10% 20px;
}

.footer-container{
display:flex;
gap:50px;
flex-wrap:wrap;
}

.footer-col{
flex:1;
min-width:220px;
}

.footer-col h3,
.footer-col h4{
color:white;
margin-bottom:15px;
}

.footer-col ul{
list-style:none;
padding:0;
}

.footer-col ul li{
margin-bottom:8px;
}

.footer-col ul li a{
color:#ccc;
text-decoration:none;
}

.footer-col ul li a:hover{
color:white;
}

.footer-bottom{
text-align:center;
margin-top:30px;
border-top:1px solid #444;
padding-top:15px;
font-size:14px;
}

/********************DROPDOWN**********************/

.dropdown{
position:relative;
display:inline-block;
}

.dropdown-content{
display:none;
position:absolute;
background:white;
min-width:180px;
box-shadow:0 4px 10px rgba(0,0,0,0.1);
border-radius:5px;
opacity:0;
transition:0.3s;
}

.dropdown-content a{
color:#333;
font-size:14px;
padding:8px 8px;
display:block;
text-decoration:none;
}

.dropdown-content a:hover{
background:#f2f2f2;
}

.dropdown:hover .dropdown-content{
display:block;
opacity:1;
}

.arrow{
display:inline-block;
margin-left:6px;
width:0;
height:0;

border-left:4px solid transparent;
border-right:4px solid transparent;
border-top:5px solid white;
}

/*********************BREADCRUMB******************/
.breadcrumb{
font-size:16px;
margin-bottom:15px;
color:#777;
}

.breadcrumb a{
color:#2e7d32;
text-decoration:none;
}

.breadcrumb a:hover{
text-decoration:underline;
}

.breadcrumb span{
color:#555;
}
/*********************PRODUCT******************/
.product-page {
  font-family: Arial, sans-serif;
}

/* ===== PHẦN TRÊN ===== */
.product-top {
  display: flex;
  align-items: center;
  gap: 50px;
  padding: 60px 10%;
  background: linear-gradient(to right, #f3f6f4, #ecfeff);
}

.product-text {
  flex: 1;
}

.product-text h1 {
  font-size: 40px;
  color: #065f46;
  margin-bottom: 20px;
}

.product-text p {
  font-size: 16px;
  line-height: 1.6;
  color: #333;
}

.product-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.product-image img {
  width: 280px;
  border-radius: 50%;
  border: 10px solid #059669;
}
/* ===== PHẦN BẢNG ===== */
.product-specs {
  padding: 60px 10%;
  background: #f3f6f4;
}

.product-specs h2 {
  text-align: center;
  margin-bottom: 30px;
  color: #065f46;
}

/* bảng */
.table-container {
  overflow-x: auto;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
}

.spec-table th {
  background: #059669;
  color: white;
  padding: 12px;
}

.spec-table td {
  padding: 12px;
  border-bottom: 1px solid #eee;
  text-align: center;
}

.spec-table td:nth-child(2) {
  text-align: left;
}

.spec-table tr:hover {
  background: #f0fdf4;
}

.badge {
  background: #d1fae5;
  padding: 4px 10px;
  border-radius: 20px;
  font-weight: bold;
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
  .product-top {
    flex-direction: column;
    text-align: center;
  }

  .product-image img {
    width: 200px;
  }
}
#current-date{
    color: #999;
    font-style: italic;
    font-size: 13px;
    letter-spacing: 0.5px;
}