/* ===== FOOTER MAIN ===== */
.footer * {
    font-family: var(--font-main), 'Cambria';
}

.footer {
    
    background: linear-gradient(to right, #0b1f3a, #0f4c81);
    color: #ffffff;
    /* Padding thoda kam kiya taaki bulky na lage */
    padding: 3rem 6% 1rem; 
    width: 100%;
    --footer-bg: linear-gradient(to right, #0b1f3a, #0f4c81);
  --footer-text: #ffffff;
  --footer-muted: rgba(255, 255, 255, 0.7);
}

/* CONTAINER */
.footer-container {
    
    max-width: 68rem; 
    margin: 0 auto;
    display: grid;

    grid-template-columns: 1.5fr 0.8fr 1fr 1.2fr; 
    gap: 1.5rem; 
    align-items: start;
}

/* ===== COMPANY BOX & LOGO ALIGNMENT ===== */
.footer-coll.company {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    text-align: left;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    width: 100%;
    justify-content: flex-start;
   
    margin-left: -5px; 
}

.logo-image {
    height: 3.5rem;
    width: auto;
    flex-shrink: 0;
    margin-left: -8px;
}

.logo-texts {
    font-size: 1.15rem; 
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}

.eva { color: #ff3b30; }
.itcs { color: #4fa3e3; }


.company-descc {
   color: white;
    font-size: 0.938rem;    
    line-height: 1.6;       
    margin-bottom: 0.5rem; /* 20px */
    
    /* Justification Logic */
    text-align: justify;    
    hyphens: auto;          
    
    
    text-justify: inter-word;
}

/* ===== HEADINGS ===== */
.footer-col h3 {
    font-size: 1.0  1rem;
    font-weight: 700;
    margin-bottom: 1.2rem; 
    color: #ffffff;
    position: relative;
    padding-bottom: 0.4rem;
}

.footer-col h3::after {
    content: "";
    width: 2rem;
    height: 2px;
    background: #4fa3e3;
    position: absolute;
    bottom: 0;
    left: 0;
}

/* ===== LINKS & NAVIGATION ===== */
.footer-col a {
    display: block;
    color: white;
    text-decoration: none;
    margin: 0.5rem 0; 
        font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
}


.footer-col a:hover {
    color: #ffffff;
    transform: translateX(4px);
}


/* ===== CONTACT INFO ===== */
.footer-col p {
    font-size: 0.9rem;
    color: #e2e8f0;
    line-height: 1.5;
    margin: 0.4rem 0;
}

.footer-col strong {
    color: #ffffff;
    font-weight: 600;
    display: block;
    margin-top: 0.6rem;
    font-size: 0.95rem;
}


/* ===== FOOTER BOTTOM ===== */
.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.2rem;
    font-size: 0.85rem;
    color: white;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p1{
    color: white;
}

/* ===== RESPONSIVE DESIGN ===== */
/* ===== FOOTER MAIN ===== */
.footer * {
    font-family: var(--font-main), 'Cambria';
}

.footer {
    
    background: linear-gradient(to right, #0b1f3a, #0f4c81);
    color: #ffffff;
    /* Padding thoda kam kiya taaki bulky na lage */
    padding: 3rem 6% 1rem; 
    width: 100%;
    --footer-bg: linear-gradient(to right, #0b1f3a, #0f4c81);
  --footer-text: #ffffff;
  --footer-muted: rgba(255, 255, 255, 0.7);
}

/* CONTAINER */
.footer-container {
    
    max-width: 68rem; 
    margin: 0 auto;
    display: grid;

    grid-template-columns: 1.5fr 0.8fr 1fr 1.2fr; 
    gap: 1.5rem; 
    align-items: start;
}

/* ===== COMPANY BOX & LOGO ALIGNMENT ===== */
.footer-coll.company {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    text-align: left;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    width: 100%;
    justify-content: flex-start;
   
    margin-left: -5px; 
}

.logo-image {
    height: 3.5rem;
    width: auto;
    flex-shrink: 0;
    margin-left: -8px;
}

.logo-texts {
    font-size: 1.15rem; 
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}

.eva { color: #ff3b30; }
.itcs { color: #4fa3e3; }


.company-descc {
   color: white;
    font-size: 0.938rem;    
    line-height: 1.6;       
    margin-bottom: 0.5rem; /* 20px */
    
    /* Justification Logic */
    text-align: justify;    
    hyphens: auto;          
    
    
    text-justify: inter-word;
}

/* ===== HEADINGS ===== */
.footer-col h3 {
    font-size: 1.0  1rem;
    font-weight: 700;
    margin-bottom: 1.2rem; 
    color: #ffffff;
    position: relative;
    padding-bottom: 0.4rem;
}

.footer-col h3::after {
    content: "";
    width: 2rem;
    height: 2px;
    background: #4fa3e3;
    position: absolute;
    bottom: 0;
    left: 0;
}

/* ===== LINKS & NAVIGATION ===== */
.footer-col a {
    display: block;
    color: white;
    text-decoration: none;
    margin: 0.5rem 0; 
        font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
}


.footer-col a:hover {
    color: #ffffff;
    transform: translateX(4px);
}


/* ===== CONTACT INFO ===== */
.footer-col p {
    font-size: 0.9rem;
    color: #e2e8f0;
    line-height: 1.5;
    margin: 0.4rem 0;
}

.footer-col strong {
    color: #ffffff;
    font-weight: 600;
    display: block;
    margin-top: 0.6rem;
    font-size: 0.95rem;
}


/* ===== FOOTER BOTTOM ===== */
.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.2rem;
    font-size: 0.85rem;
    color: white;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p1{
    color: white;
}
/* 1. Tablet & Small Laptops (1024px and below) */
@media (max-width: 1024px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
    
    .footer {
        padding: 3rem 5% 2rem;
    }
}

/* 2. Mobile Landscape (768px and below) */
@media (max-width: 768px) {
    .footer-container {
        gap: 2.5rem;
    }
    
    .logo-image {
        height: 3rem;
    }
}

/* 3. Small Mobile (600px and below) - Fixed Logic */
@media (max-width: 600px) {
    .footer-container {
        grid-template-columns: 1fr; /* Single Column for clean look */
        text-align: left; /* Screenshot fix: Left alignment address ke liye better hai */
        gap: 2rem;
        padding: 0 10px; /* Side spacing */
    }

    .logo {
        justify-content: flex-start; /* Logo ko left rakhein */
    }

    /* Column sections ko full width karein */
    .footer-col, 
    .footer-coll.company {
        text-align: left;
    }

    /* Blue line (after element) alignment fix */
    .footer-col h3::after {
        left: 0;
        transform: none;
    }

    /* Paragraphs aur links ka alignment reset */
    .company-descc, 
    .footer-col p, 
    .footer-col a,
    .footer-col ul {
        text-align: left;
        margin-left: 0;
        padding-left: 0;
    }

    /* Copyright section layout */
    .footer-bottom {
        text-align: center;
        margin-top: 2rem;
        padding-top: 1.5rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .footer-col a:hover {
        transform: none; /* Mobile par transform ajeeb lag sakta hai */
        color: var(--eva-cyan); 
    }
}