/* RESET */
html, body {
    overflow-x: hidden;
    width: 100%;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* HEADER */
.header {
    background: #fff;
    border-bottom: 1px solid #ddd;
}

/* CONTAINER */
.container {
    max-width: 1200px;
    margin: auto;
    padding: 15px 15px;   /* reduced */
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;          /* IMPORTANT */
}

/* LOGO */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* LOGO IMAGE */
.logo img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

/* TEXT */
.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

/* COMPANY NAME */
.company-name {
    font-size: 16px;
    font-weight: 600;
    color: #000;
}

/* TAGLINE */
.tagline {
    font-size: 12px;
    color: #666;
}

/* MOBILE OPTIMIZATION */
@media (max-width: 768px) {
    .logo img {
        width: 32px;
        height: 32px;
    }

    .company-name {
        font-size: 14px;
    }

    .tagline {
        font-size: 11px;
    }
}

/* NAV LINKS */
.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links li {
    position: relative;
    transition: transform 0.2s ease;
}

.nav-links li:hover {
    transform: translateY(-2px);
}

/* 🔥 UPDATED NAV LINKS (HOVER EFFECT ADDED) */
.nav-links a {
    position: relative;
    text-decoration: none;
    color: #000;
    font-size: 15px;
    padding: 5px 0;
    transition: color 0.3s ease;
}

/* UNDERLINE EFFECT */
.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0%;
    height: 2px;
    background: #000;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* ================= */
/* DROPDOWN DESKTOP */
/* ================= */

/* 🔥 UPDATED DROPDOWN (ANIMATION ADDED) */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 180px;
    max-width: 90vw;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 10px 0;

    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a {
    display: block;
    padding: 10px 15px;
    color: #000;
    transition: all 0.25s ease;
}

/* 🔥 DROPDOWN HOVER EFFECT */
.dropdown-menu a:hover {
    background: #f5f5f5;
    padding-left: 20px;
}

/* 🔥 SHOW DROPDOWN (SMOOTH) */
.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* RIGHT */
.nav-right {
    display: flex;
}

/* HAMBURGER */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #000;
}

/* MOBILE MENU */
.mobile-menu {
    display: none;
    flex-direction: column;
    background: #fff;
}

.mobile-menu a {
    padding: 15px;
    border-bottom: 1px solid #eee;
    color: #000;
    text-decoration: none;
}

/* MOBILE DROPDOWN */
.mobile-dropdown-btn {
    padding: 15px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
}

.mobile-submenu {
    display: none;
    flex-direction: column;
}

.mobile-submenu a {
    padding-left: 30px;
}

.mobile-submenu.active {
    display: flex;
}

/* ACTIVE */
.mobile-menu.active {
    display: flex;
}

/* ================= */
/* RESPONSIVE */
/* ================= */

@media (max-width: 768px) {

    .nav {
        display: none;
    }

    .hamburger {
        display: flex;
    }
}

/* ================= FOOTER ================= */

.footer{
background:#0a0a0a;
color:#fff;
padding:50px 20px 25px; 
}

.footer-container{
max-width:1200px;
margin:auto;
display:grid;
grid-template-columns:repeat(4,1fr);
gap:40px;
}

/* LOGO */

.footer-logo{
display:flex;
align-items:center;
gap:10px;
margin-bottom:15px;
}

.footer-logo img{
width:40px;
}

.footer-logo h3{
font-size:18px;
}

/* TEXT */

.footer-col p{
font-size:14px;
color:#aaa;
line-height:1.6;
}

/* HEADINGS */

.footer-col h4{
margin-bottom:15px;
font-size:16px;
}

/* LINKS */

.footer-col ul{
list-style:none;
}

.footer-col ul li{
margin-bottom:10px;
}

.footer-col ul li a{
text-decoration:none;
color:#ccc;
font-size:14px;
transition:0.3s;
}

.footer-col ul li a:hover{
color:#fff;
padding-left:5px;
}
.footer a{
color:#ccc;
text-decoration:none;
}

.footer a:hover{
color:#fff;
}

/* FORM */

.footer-form{
display:flex;
gap:10px;
margin-top:10px;
}

.footer-form input{
flex:1;
padding:10px;
border:none;
border-radius:4px;
font-size:14px;
}

.footer-form button{
padding:10px 15px;
border:none;
background:#0073e6;
color:#fff;
border-radius:4px;
cursor:pointer;
transition:0.3s;
}

.footer-form button:hover{
background:#005fcc;
}

/* BOTTOM */

.footer-bottom{
text-align:center;
margin-top:40px;
padding-top:20px;
border-top:1px solid #222;
font-size:13px;
color:#777;
}

.footer ul{
padding-left:0;
}

.footer input{
outline:none;
}

/* MOBILE */

@media (max-width:768px){

.footer-container{
grid-template-columns:1fr;
gap:25px;
text-align:left;   /* FIXED */
}

/* spacing fix */
.footer-col{
margin-bottom:10px;
}

/* logo align */
.footer-logo{
justify-content:flex-start;
}

/* form fix */
.footer-form{
flex-direction:column;
gap:10px;
}

.footer-form input,
.footer-form button{
width:100%;
}

/* font size fix */
.footer-col h4{
font-size:15px;
}

.footer-col p,
.footer-col ul li a{
font-size:13px;
}

}