/* Global */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #f9fafb;
    color: #1f2937;
    line-height: 1.6;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 4%;
    background: #ffffff;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 999;
}

/* Left side (company name) */
.nav-left .company-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    text-decoration: none;
    letter-spacing: -0.5px;
}

/* Right side (links) */
.nav-right {
    display: flex;
    gap: 35px;
}

.nav-right a {
    color: #1f2937;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: 0.3s ease;
}

.nav-right a:hover {
    color: #0d47a1;
    font-weight: 600;
}
.hamburger{
    display:none;
    flex-direction:column;
    cursor:pointer;
    gap:5px;
}

.hamburger span{
    width:25px;
    height:3px;
    background:#333;
    transition:0.3s;
}

/* ===== MOBILE ===== */

@media (max-width:755px){
.hamburger{
    display:flex;
    order:1;
}
.nav-right{
    position:fixed;
    top:0;
    right:-260px;
    width:260px;
    height:100vh;
    background:white;

    display:flex;
    flex-direction:column;

    padding-top:80px;
    padding-left:30px;
    gap:20px;

    transition:left 0.35s ease;
    box-shadow:2px 0 10px rgba(0,0,0,0.15);
}

/* open menu */

.nav-right.active{
    right: 0;
    margin-top: 18%;
}

.hamburger{
    display:flex;
}

}

/* Responsive Navbar */


/* Hero Section */
.hero {
    padding: 140px 10%;
    text-align: center;
    background: linear-gradient(135deg, #0d47a1, #3b82f6);
    color: #ffffff;
    border-radius: 0 0 50% 50% / 0 0 20% 20%;
    box-shadow: 0 8px 32px rgba(0,0,0,0.25);
    position: relative;
}

/* Company Name in Hero */
.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.hero h2 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 20px;
    color: #e0f2fe;
}

.hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 750px;
    margin: auto;
}

/* Sections */
.section {
    padding: 80px 10%;
    text-align: center;
    max-width: 1200px;
    margin: auto;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    margin-top: 40px;
}

/* Section Heading */
.section h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 25px;
}

/* Paragraph */
.section p {
    font-size: 1.1rem;
    color: #4b5563;
    max-width: 850px;
    margin: auto;
}

/* Services Grid */
.grid {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

/* Service Card */
.card {
    background: #f1f5f9;
    padding: 25px;
    border-radius: 14px;
    text-align: left;
    box-shadow: 0 4px 14px rgba(0,0,0,0.06);
    transition: 0.3s ease;
}

.card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 12px;
}

.card p {
    color: #4b5563;
    font-size: 1rem;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.12);
    cursor: pointer;
}


footer {
  background: #0f172a;
  color: #fff;
  padding: 20px 40px;
  font-size: 16px;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

/* Right side: icons only */
.footer-right {
  display: flex;
  gap: 15px;
}

.footer-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  color: white;
  font-size: 18px;
  text-decoration: none;
  transition: transform 0.3s;
}

/* Colorful background */
.footer-icon.email-icon {
  background: #0072c6; /* blue */
}

.footer-icon.whatsapp-icon {
  background: #25D366; /* green */
}

/* Hover effect */
.footer-icon:hover {
  transform: scale(1.1);
}

/* Responsive: stack on mobile */
@media (max-width:755px){
  .footer-container{
    align-items: anchor-center;
    gap: 2px;
  }
  .footer-right {
  display: flex;
  gap: 15px;
}
footer {
    background: #0f172a;
    color: #fff;
    padding: 16px 17px;
    font-size: 8px;
}
}

/* Responsive Hero Text */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
    }
    .hero h2 {
        font-size: 1.2rem;
    }
    .hero p {
        font-size: 1rem;
    }
}

/* Image to Text Tool Styling */
.section form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}

.section form input[type="file"] {
    padding: 10px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    width: 100%;
    max-width: 400px;
    cursor: pointer;
    transition: 0.3s ease;
}

.section form input[type="file"]:hover {
    border-color: #0d47a1;
}

.section form button {
    padding: 12px 25px;
    background: #0d47a1;
    color: white;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s ease;
}

.section form button:hover {
    background: #1565c0;
}

textarea {
    width: 100%;
    max-width: 800px;
    padding: 15px;
    border-radius: 12px;
    border: 1px solid #cbd5e1;
    resize: vertical;
    margin-top: 15px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
}

/* Section Styling Overrides */
.section h2 {
    font-size: 2rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 18px;
}

.contact-item .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    margin-right: 10px;
    color: white;
    font-size: 16px;
}

.email-icon {
    background: #0072c6; /* Blue for email */
}

.whatsapp-icon {
    background: #25D366; /* WhatsApp green */
}

/* Link style */
.contact-item a {
    text-decoration: none;
    color: inherit;
    font-weight: 500;
}

/* Optional hover effect */
.contact-item a:hover {
    text-decoration: underline;
}

.section p {
    font-size: 1.1rem;
    color: #4b5563;
    margin-bottom: 25px;
}

@media (max-width: 768px) {
    .section form input[type="file"] {
        max-width: 100%;
    }

    textarea {
        max-width: 100%;
    }
}

/* blog html css */
.blogs-container{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
gap:20px;
}

.blog-card{
border:1px solid #ddd;
padding:20px;
border-radius:8px;
background:#fff;
}

.blog-title{
font-size:20px;
margin-bottom:10px;
}

.blog-short{
color:#555;
}

.blog-full{
display:none;
margin-top:10px;
color:#333;
}

.blog-card button{
margin-top:10px;
padding:8px 12px;
border:none;
background:#007bff;
color:white;
border-radius:4px;
cursor:pointer;
}