/*CSS Variables and Global Styles*/
:root {
    --primary-color: #EC368F;
    --secondary-color: #3E4095;
    --dark-color: #021e40;
    --light-color: #ffffff;
    --text-color: #555;
    --heading-color: #111;
    --bg-light-gray: #f7f8fc;
    --border-color: #e9ecef;
    --shadow-soft: 0 5px 15px rgba(0, 0, 0, 0.05);
    --shadow-strong: 0 8px 25px rgba(0, 0, 0, 0.1);
    --font-family: 'Poppins', sans-serif;
    --transition-speed: 0.3s;
    --border-radius: 12px;
}

/* --- Basic Resets & Defaults --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: var(--font-family);
    color: var(--text-color);
    line-height: 1.7;
    background-color: var(--light-color);
    overflow-x: hidden;
}

/* Wider, fluid container for full-screen feel */
.container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
}

h1, h2, h3, h4 { color: var(--heading-color); line-height: 1.3; font-weight: 700; }
h3 { font-size: clamp(1.5rem, 4vw, 2.25rem); margin-bottom: 1rem; }
p { margin-bottom: 1.25rem; }

a { color: var(--primary-color); text-decoration: none; transition: color var(--transition-speed) ease; }
a:hover { color: var(--secondary-color); }
img { max-width: 100%; height: auto; display: block; }

.btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.8rem 1.8rem; border-radius: 5px; font-weight: 600; text-align: center; transition: all var(--transition-speed) ease; border: none; cursor: pointer; }
.btn-primary { background: linear-gradient(145deg, var(--primary-color), var(--secondary-color)); color: var(--light-color); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: var(--shadow-strong); color: var(--light-color); text-decoration: none; }

/* Header & Navigation*/
.site-header { background-color: var(--light-color); box-shadow: var(--shadow); position: sticky; top: 0; width: 100%; z-index: 1000; }
.main-nav .container { display: flex; justify-content: space-between; align-items: center; height: 80px; }
.nav-logo img { max-height: 50px; }
.nav-links { list-style: none; display: flex; align-items: center; gap: 2rem; }
.nav-links a {
    color: var(--heading-color);
    font-weight: 600;
    padding: 1.5rem 0;
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    white-space: nowrap;
}
.nav-links li.active > a, .nav-links li.current-page > a { color: var(--primary-color); }
.nav-links > li > a::after { content: ''; position: absolute; bottom: 0; left: 50%; width: 0; height: 3px; background-color: var(--primary-color); transition: all var(--transition-speed) ease-out; transform: translateX(-50%); }
.nav-links > li > a:hover::after, .nav-links li.active > a::after { width: 100%; left: 0; transform: translateX(0); }
.nav-links .dropdown > a i { font-size: 0.8em; transition: transform var(--transition-speed) ease; }

/* Desktop Dropdown Menu */
.dropdown { position: relative; }
.submenu { display: none; position: absolute; top: 100%; left: 0; background-color: var(--light-color); box-shadow: var(--shadow); list-style: none; padding: 0.5rem 0; min-width: 240px; border-radius: 5px; opacity: 0; transform: translateY(10px); transition: opacity var(--transition-speed) ease, transform var(--transition-speed) ease; z-index: 1001; }
.dropdown:hover .submenu { display: block; opacity: 1; transform: translateY(0); }
.dropdown:hover > a i { transform: rotate(180deg); }
.submenu li a { padding: 0.75rem 1.5rem; width: 100%; display: block; font-weight: 500; }
.submenu li a::after { display: none; }
.submenu li a:hover { background-color: var(--bg-light-gray); color: var(--primary-color); }

.nav-apply-btn {
    margin-left: 1rem;
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;      
}

/*  .hamburger to .nav-toggle to hide button on desktop */
.nav-toggle { display: none; font-size: 1.5rem; background: none; border: none; color: var(--dark-color); cursor: pointer; }


/*Contact Page Specific Styles*/
.contact-section {
    background-color: var(--bg-light-gray);
    padding: clamp(3.5rem, 8vw, 6rem) 0;
    display: grid;
    place-items: center;
    min-height: calc(100vh - 80px);
}

/* The contact grid is neatly centered by the .container */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    align-items: start;
    gap: clamp(2rem, 5vw, 4rem);
    background-color: var(--light-color);
    padding: clamp(2rem, 5vw, 4rem);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-strong);
    width: 100%;
}

.contact-info p {
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}
.info-item i {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(145deg, rgba(236, 54, 143, 0.1), rgba(62, 64, 149, 0.1));
    color: var(--primary-color);
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 1.3rem;
    transition: all 0.3s ease;
}
.info-item:hover i {
    background: linear-gradient(145deg, var(--primary-color), var(--secondary-color));
    color: var(--light-color);
    transform: scale(1.1) rotate(10deg);
}
.info-item strong {
    display: block;
    color: var(--heading-color);
    font-size: 1.1rem;
    margin-bottom: 0.1rem;
}
.info-item > div p {
    margin-bottom: 0;
    line-height: 1.6;
}

.map-container {
    margin-top: 2.5rem;
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 300px;
}
.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.contact-form-container {
    background-color: transparent; /* Make background same as the page */
    border: none; /* Remove the border */
    padding: 0; /* Remove padding if any was added */
    box-shadow: none; /* Remove any shadow */
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--heading-color);
}
.form-group input, .form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: var(--font-family);
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background-color: var(--bg-light-gray);
}
.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(236, 54, 143, 0.15);
}
.form-group textarea {
    resize: vertical;
    min-height: 140px;
}

.contact-form button {
    align-self: flex-start;
    padding: 1rem 2.5rem;
    font-size: 1rem;
}
/*Phone Icon Micro-interaction */
@keyframes pulse-glow {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(0, 114, 255, 0.7);
  }
  70% {
    transform: scale(1.1);
    box-shadow: 0 0 0 20px rgba(0, 114, 255, 0);
  }
  100% {
    transform: scale(1);
  }
}

.info-item:hover .fa-phone-alt {
  /* An attractive, tech-inspired blue gradient */
  background: linear-gradient(45deg, #0072FF, #00C6FF);
  color: var(--light-color);

  transform: none;

  animation: pulse-glow 1.2s infinite cubic-bezier(0.66, 0, 0, 1);
}

/*Email Icon Micro-interaction*/
@keyframes send-off {
  0% {
    transform: translate(0, 0);
    opacity: 1;
  }
  40% {
    transform: translate(10px, -10px);
    opacity: 1;
  }
  100% {
    transform: translate(40px, -40px);
    opacity: 0;
  }
}

/* 2. Target the email icon specifically on hover */
.info-item:hover .fa-envelope {
  background: #007bff;
  color: var(--light-color);
  box-shadow: 0 5px 15px rgba(0, 123, 255, 0.4);

  animation: send-off 0.6s ease-in;
}

/*Address Icon Micro-interaction*/
@keyframes drop-pin {
  0% {
    transform: translateY(-15px);
  }
  50% {
    transform: translateY(0);
  }
  70% {
    transform: translateY(-6px);
  }
  100% {
    transform: translateY(0);
  }
}

/* 2. Target the address icon specifically on hover */
.info-item:hover .fa-map-marker-alt {
  background: #dc3545;
  color: var(--light-color);
  box-shadow: 0 5px 15px rgba(220, 53, 69, 0.4);

  animation: drop-pin 0.6s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}




/*Footer */
.site-footer {
    background-color: var(--dark-color);
    color: #c0c0c0;
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.9rem;
}

/*Responsive Styles*/
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    /* MOBILE NAVIGATION LOGIC */
    .nav-links {
        display: block; position: fixed; top: 70px; left: 0; width: 100%; height: calc(100vh - 70px);
        background-color: var(--dark-color); flex-direction: column; align-items: flex-start;
        gap: 0; padding: 2rem 0; transform: translateX(100%); transition: transform 0.35s ease-in-out;
        overflow-y: auto; z-index: 1000;
    }
    .nav-links.active { transform: translateX(0); }
    .nav-links li { width: 100%; }
    .nav-links a { color: var(--light-color); font-size: 1.1rem; padding: 1rem 2rem; width: 100%; display: flex; justify-content: space-between; align-items: center; white-space: nowrap;}
    .nav-links a:hover { background-color: rgba(255, 255, 255, 0.05); }
    .nav-links > li > a::after { display: none; }
    .nav-links .dropdown > a > i { display: none; }
    .dropdown > a::after { content: '▼'; font-size: 0.8em; font-weight: bold; transition: transform var(--transition-speed) ease; }
    .dropdown.open > a::after { transform: rotate(180deg); }
    .dropdown .submenu {
        display: none; position: static; opacity: 1; transform: none; box-shadow: none;
        background-color: rgba(0, 0, 0, 0.2); padding: 0; min-width: 100%; border-radius: 0;
        max-height: 0; overflow: hidden; transition: max-height 0.4s ease-in-out;
    }

    .dropdown.open > .submenu { display: block; max-height: 500px; }
}



@media (max-width: 768px) {
    html { font-size: 16px; }
    h1 { font-size: 2.5rem; } h2 { font-size: 2rem; }
    section { padding: 3rem 0; }
    .hero-title { font-size: 2.6rem; }
    .header-top-bar { display: none; }
    .main-nav .container { height: 70px; }
    .nav-toggle { display: block; z-index: 1001; }
    .nav-apply-btn { display: none; }
}

@media (max-width: 480px) {
        html { font-size: 15px; }
    .hero-title { font-size: 2.2rem; }
    .hero-text { font-size: 1rem; }
    .stats-section .container { grid-template-columns: 1fr; }
    .nav-links { gap: 1.25rem; }
    .nav-links a { font-size: 1.1rem; padding: 0.6rem 1rem; }
}