*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* ===== GLOBAL STYLES ===== */
body {
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;   /* Clean modern font */
    background-color: #ffffff;                   /* Pure white background */
    color: #000000;                              /* Default black text */
    line-height: 1.6;                            /* Comfortable reading */
    padding: 20px;                               /* White space around content */
}

/* Heading defaults */
h1, h2, h3 {
    color: #0a3d62;      /* ICE Customs deep blue */
    font-weight: 600;
    margin-bottom: 10px;
}

/* Paragraphs & lists */
p, li {
    font-size: 16px;
    margin-bottom: 15px;
    
}

/* NAVBAR STYLING */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 1rem;
    background-color: #1A237E; /* Deep blue */
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* LOGO IMAGE */
.navbar img {
    width: 120px;     /* Adjust size of the logo */
    height: auto;     /* Keeps aspect ratio */
    display: block;   /* Removes extra bottom spacing */
}

/* NAVIGATION LINKS */
.nav-links {
    display: flex;
    gap: 2rem;        /* Space between links */
    list-style: none;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
}

.nav-links a {
    text-decoration: none;
    color: white;
    transition: 0.2s;
}

.nav-links a:hover {
    color: #fff700;
}

.navbar .nav-links a:link,
.navbar .nav-links a:visited {
    color: white;
    text-decoration: none;
}

.navbar .nav-links a:hover {
    color: #d0c902;
}

.hero{
    background: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)),
        url("ice-hero12.png");
    color: #ffffff;
    text-align: center;
    padding: 5rem 2rem;
}

.hero h1{
    color: #ffffff;
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.hero p{
    
}
.btn{
    background: #1A237E;
    color: #ffffff;
    padding: 0.25rem 0.5rem;
    border-radius:6px;
    text-decoration: none;
    font-weight: 500;
    transition:0.3s;
    margin-top: 20px;
}

.btn:hover{
    background: #dfdc7d;
}

section h2{
    padding: 1rem 0.5rem;
    text-align: center;
    background-color: #ffffff;
    color: rgb(2,5,2);
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(109, 102, 240, 0.473);
    margin-top: 25px;
    margin-bottom: 10px;

}

.services-container{
    display:flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.services-card{
    background-color: linear-gradient(to right, #ffffff, #F7F7F7 );
    padding: 1.5rem;
    color:#ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.services-card i{
    font-size: 3rem;
    color: #1A237E;
    margin-bottom: 10px;
}



footer{
    display: flex;
    margin-top: 2rem;
    justify-content: center;
    background: #1A237E;
    color:#ffffff;
    gap: 2rem;
}

.contact-container{
    max-width: 600px;
    padding: 2rem;
    display: flex;
    gap: 15px;
    align-items: center;
    margin: 0 auto;
}
.contact-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}


input, textarea{
    width: 100%;
    padding: 12px 15px;
    border: 1.5px solid #ccc;
    border-radius: 6px;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    font-size: 1rem;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

input:focus, textarea:focus{
    border-color: #1A237E;
    box-shadow: 0 0 5px rgba(26, 35, 126, 0.3);
    outline: none;
}

.send-btn {
    background-color: #1A237E;
    color: white;
    border: none;
    padding: 12px 20px;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s ease;
    width: fit-content;
    align-self: center; 
}

.send-btn:hover {
    background-color: #303F9F;
}

.card-container{
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    justify-content: center;
    align-items: stretch;
    max-width: 1000px;
    margin: auto;
}

.card{
    background-color: white;
    padding: 20px;
    width: 90%;
    max-width: 320px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition:0.3s ease;
    box-shadow: 0.3s ease;
}

.card:hover{
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.card h3{
    color:#1A237E;
    justify-content: center;
    margin-bottom: 20px;
}

.card p{
    color: ;
    margin-bottom: 20px;

}
/* POPUP OVERLAY */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: none; /* hidden by default */
    justify-content: center;
    align-items: center;
    padding: 20px;
    z-index: 2000;
}

/* SHOW WHEN TARGETED */
.popup:target {
    display: flex;
}

/* POPUP IMAGE */
.popup img {
    width: 90%;
    max-width: 600px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

/* CLOSE BUTTON */
.popup .close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 3rem;
    color: white;
    text-decoration: none;
    font-weight: bold;
    z-index: 2001;
}

/* ===========================
   RESPONSIVE DESIGN
   =========================== */

/* --- Tablets & Large Phones (≤ 992px) --- */
@media (max-width: 992px) {

    /* Navbar items get closer */
    .nav-links {
        gap: 1rem;
    }

    /* Reduce hero padding */
    .hero {
        padding: 4rem 1.5rem;
        background-position: center;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    /* Services cards tighten */
    .services-container {
        gap: 1.5rem;
    }

    /* Contact form width adjustment */
    .contact-container {
        padding: 1.5rem;
    }

    /* Project cards fit better */
    .card {
        max-width: 280px;
    }
}

/* --- Mobile Landscape & Small Tablets (≤ 768px) --- */
@media (max-width: 768px) {

    /* Navbar becomes vertical */
    .navbar {
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    /* Hero spacing */
    .hero {
        padding: 3rem 1rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    /* Services become 2 in a row */
    .services-card {
        max-width: 300px;
        width: 100%;
        text-align: center;
    }

    /* Contact section stacks nicer */
    .contact-container {
        padding: 1rem;
    }

    /* Projects section tightens */
    .card {
        width: 100%;
        max-width: 90%;
    }

    /* Popup image shrink */
    .popup img {
        width: 95%;
        max-width: 500px;
    }
}

/* --- Mobile Portrait (≤ 576px) --- */
@media (max-width: 576px) {

    /* Navbar logo smaller */
    .navbar img {
        width: 90px;
    }

    .nav-links a {
        font-size: 1rem;
    }

    /* Hero text adjusts */
    .hero h1 {
        font-size: 1.7rem;
    }

    /* Services tighter */
    .services-container {
        gap: 1rem;
    }

    .services-card {
        padding: 1rem;
    }

    /* Contact section full width */
    .contact-container {
        width: 100%;
    }

    /* Projects stack perfectly */
    .card-container {
        gap: 30px;
    }

    /* Popup close button bigger and easier to tap */
    .popup .close {
        font-size: 2.5rem;
        top: 15px;
        right: 20px;
    }
}

/* --- Very Small Phones (≤ 400px) --- */
@media (max-width: 400px) {

    .nav-links {
        flex-direction: column;
        gap: 0.5rem;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    .services-card {
        padding: 0.8rem;
        font-size: 0.9rem;
    }

    .card {
        padding: 15px;
    }
}
