
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

/* ========== CSS VARIABLES ========== */
:root {
    --primary-color: #6b21a8;
    --secondary-color: #9b4dca;
    --accent-color: #daaff0;
    --dark-color: #4a1b7d;
    --light-color: #e5ccf5;
    --lighter-color: #f0e4f8;
    --gray-color: #484848;
    --light-gray: #878787;
    --border-color: #e0e0e0;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    --container-width: 1600px;
}

/* ========== RESET & BASE STYLES ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: white;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ========== UTILITY CLASSES ========== */
.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 15px;
}

.flex {
    display: flex;
}

.align-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.grid {
    display: grid;
}

.section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    text-align: center;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray-color);
    margin-bottom: 40px;
    text-align: center;
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 15px;
    transition: all 0.3s ease;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn:hover {
    background-color: var(--secondary-color);
    transform: scale(1.05);
}

/* ========== HEADER ========== */
header {
    position: fixed;
    width: 100%;
    z-index: 1000;
    background-color: white;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    height: 100px;
}

.header-container {
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.company-logo {
    height: auto;
    width: 200px;
    max-height: 60px;
    object-fit: contain;
}

.nav-bar {
    transition: all 0.3s ease;
}

.nav-bar ul {
    display: flex;
    gap: 30px;
}

.nav-bar a {
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
}

.nav-bar a:hover {
    color: var(--secondary-color);
}

.nav-bar a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2.5px;
    background-color: var(--secondary-color);
    transition: all 0.3s ease;
}

.nav-bar a:hover::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
}

/* ========== HERO SECTION ========== */
.hero {
    background-image: url(images/hero.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh;
    display: flex;
    color: white;
    align-items: center;
    position: relative;
    padding-top: 80px;
    justify-content: center;
    z-index: 2;
}

.hero-content {
    max-width: 700px;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 30px;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

.hero-btns a {
    border: 2px solid white;
}

/* ========== SERVICES SECTION ========== */
#services {
    background-color: var(--lighter-color);
    padding: 80px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    justify-content: center;
    margin: 0 auto;
    padding: 0 20px;
}

.service-card {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 2px solid white;
    padding: 30px 20px;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 350px;
    transition: all 0.3s ease;
}

.service-card:hover {
    border: 2px solid var(--primary-color);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.service-icon {
    width: 70px;
    height: 70px;
    background-color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.service-icon img {
    transition: all 0.3s ease;
}

.service-card:hover .service-icon img {
    transform: scale(1.1);
}

.service-content {
    padding: 0;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-title {
    margin-bottom: 15px;
}

.service-desc {
    color: var(--gray-color);
    margin-bottom: 20px;
    flex: 1;
}

/* ========== ABOUT SECTION ========== */
#about {
    background-color: white;
    padding: 80px 0;
}

.special {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    justify-content: center;
    margin: 60px 0;
    cursor: pointer;
}

.specialty {
    text-align: center;
    position: relative;
    transition: all 0.3s ease-in-out;
}

.specialty:hover {
    transform: scale(1.1);
    color: var(--secondary-color);
}

.specialty-icon {
    width: 70px;
    height: 70px;
    background-color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.specialty-content {
    padding: 30px;
    text-align: center;
}

.specialty-title {
    margin-bottom: 15px;
}

.specialty-desc {
    color: var(--gray-color);
    margin-bottom: 20px;
}

/* ========== CONTACT SECTION ========== */
#contact {
    min-height: 100vh;
}

.hero-contact {
    background-color: var(--primary-color);
    color: white;
    padding: 150px 0 100px 0;
    text-align: center;
}

.hero-contact h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-contact p {
    font-size: 1.2rem;
    max-width: 900px;
    margin: 0 auto;
    opacity: 0.9;
}

.contact-section {
    padding: 50px 0;
    background-color: white;
    width: 100%;
}

.contact-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Contact Form (Left Side) */
.contact-left {
    background: white;
    padding: 1rem;
    border-radius: 20px;
}

.contact-left h2 {
    font-size: 30px;
    margin-bottom: 30px;
    color: var(--dark-color);
}

.contact-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    width: 100%;
    margin: 0 auto;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-size: 15px;
    font-weight: 500;
    color: black;
}

.form-label:after {
    content: " *";
    color: red;
    display: inline-block;
}

.form-label[for="phone"]:after {
    content: "";
}

.form-group input,
.form-group textarea,
.form-control {
    padding: 0.875rem 1rem;
    font-size: 0.95rem;
    border-radius: 10px;
    border: 1px solid #ccc;
    width: 100%;
    box-sizing: border-box;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-control:focus {
    border: 2px solid var(--primary-color);
    outline: none;
}

.textarea-group {
    grid-column: span 2;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
    min-height: 100px;
}

.contact-form-grid button {
    grid-column: span 2;
    padding: 1rem 2rem;
    font-size: 15px;
    font-weight: bold;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    height: 50px;
    width: 100%;
    font-family: inherit;
    margin-top: 10px;
}

.contact-form-grid button:hover {
    background-color: var(--secondary-color);
}

/* Contact Info (Right Side) */
.contact-right {
    padding: 1rem;
    display: flex;
    flex-direction: column;
}

.contact-right h2 {
    font-size: 30px;
    margin-bottom: 30px;
    color: var(--dark-color);
}

.contact-box {
    background-color: var(--light-color);
    border-radius: 15px;
    padding: 30px;
    flex-grow: 1;
}

.contact-item {
    display: flex;
    margin-bottom: 2rem;
    align-items: center;
    gap: 1rem;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.icon {
    background-color: white;
    border-radius: 50%;
    width: 70px;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.icon img {
    width: 25px;
    height: 25px;
}

.info h4 {
    margin: 0;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 5px;
    color: black;
}

.info p {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 0;
    color: rgb(63, 63, 63);
}

/* ========== CUSTOM PAGES ========== */
.main-container {
    background: white;
}

.content-wrapper {
    padding: 3rem;
}

.main-selector {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.main-btn {
    background: var(--gray-color);
    color: white;
    border: none;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: bold;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.main-btn:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    background-color: var(--light-gray);
}

.main-btn.active {
    background: var(--secondary-color);
    transform: scale(1.05);
}

.main-section {
    display: none;
    animation: fadeIn 0.5s ease;
}

.main-section.active {
    display: block;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--gray-color);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--light-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* Process & Region Selectors */
.process-selector,
.region-selector {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.process-btn,
.region-btn {
    background: var(--secondary-color);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.process-btn:hover,
.region-btn:hover {
    transform: scale(1.01);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.process-btn.active,
.region-btn.active {
    background: var(--dark-color);
}

.process-content,
.region-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.process-content.active,
.region-content.active {
    display: block;
}

/* Process & Info Grids */
.process-grid,
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.process-step,
.info-card {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 15px;
    padding: 2rem;
    border-left: 5px solid var(--primary-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.process-step::before,
.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.process-step:hover::before,
.info-card:hover::before {
    transform: translateX(0);
}

.process-step:hover,
.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 15px rgba(0, 0, 0, 0.3);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 20px;
    background: var(--primary-color);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(107, 33, 168, 0.3);
}

.process-step h3,
.info-card h3 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.process-step ul,
.info-card ul {
    list-style: none;
    padding-left: 0;
}

.process-step li,
.info-card li {
    padding: 0.4rem 0;
    border-bottom: 1px solid #f8f9fa;
    position: relative;
    padding-left: 1.5rem;
}

.process-step li:last-child,
.info-card li:last-child {
    border-bottom: none;
}

.process-step li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: var(--dark-color);
    font-size: 0.8rem;
}

.info-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--dark-color);
    font-weight: bold;
}

/* ========== REQUEST QUOTE SECTION ========== */
.cta-section {
    padding: 80px 0;
    position: relative;
}

.form-section-wide {
    background: white;
    padding: 60px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(107, 33, 168, 0.1);
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.form-section-wide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color), var(--secondary-color));
}

.form-section-wide h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-align: center;
}

.form-section-wide .subtitle {
    color: var(--gray-color);
    margin-bottom: 3rem;
    font-size: 1.2rem;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.freight-form-wide {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.form-row-wide {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    width: 100%;
    justify-content: center;
}

.form-group-request {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.form-group-request.full-width {
    width: 100%;
}
.form-group-request textarea {
    height: 150px;
    resize: vertical;
    min-height: 100px;
}
.form-label.required::after {
    content: " *";
    color: #ff0000;
}

.freight-checklist-wide {
    background: linear-gradient(135deg, var(--lighter-color), var(--light-color));
    padding: 30px;
    border-radius: 15px;
    border: 2px solid var(--accent-color);
}

.freight-checklist-wide h3 {
    color: var(--primary-color);
    margin-bottom: 25px;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
}

.checkbox-group-wide {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 700px;
    margin: 0 auto;
}

.checkbox-item-wide {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 25px 20px;
    background: white;
    border-radius: 15px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.checkbox-item-wide:hover {
    border-color: var(--primary-color);
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(107, 33, 168, 0.15);
}

.checkbox-item-wide.selected {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, var(--lighter-color), white);
    transform: translateY(-2px);
}

.checkbox-item-wide input[type="checkbox"] {
    width: 24px;
    height: 24px;
    accent-color: var(--primary-color);
    cursor: pointer;
    flex-shrink: 0;
}

.submit-btn-wide {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 22px 80px;
    border-radius: 50px;
    font-size: 1.3rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.8px;
    width: 100%;
    max-width: 400px;
    margin: 30px auto 0;
    display: block;
    font-family: inherit;
}

.submit-btn-wide:hover {
    background: var(--secondary-color);
    transform: scale(1.02);
    box-shadow: 0 15px 35px rgba(107, 33, 168, 0.4);
}

/* ========== SERVICE DETAILS ========== */
.service-details {
    padding: 30px 20px;
    max-width: 1500px;
    margin: 0 auto;
}

.service-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 30px;
}

.service-detail-card {
    background: #f0f0f0;
    border-radius: 15px;
    padding: 2rem;
    border-left: 5px solid var(--primary-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.service-detail-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color), var(--light-color));
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.service-detail-card:hover::before {
    transform: translateX(0);
}

.service-detail-card:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.service-detail-card h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
}

.service-detail-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.service-detail-icon img {
    width: 25px;
    height: 25px;
    filter: brightness(0) invert(1);
}

.service-detail-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-detail-content p {
    margin-bottom: 20px;
}

.service-detail-desc {
    color: #666;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.6;
    text-align: justify;
}

.service-feature {
    list-style: none;
    padding-left: 0;
    margin-bottom: 2rem;
    flex: 1;
}

.service-feature li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #d1d3d4;
    position: relative;
    padding-left: 1.5rem;
    color: #555;
    transition: color 0.3s ease;
}

.service-feature li:last-child {
    border-bottom: none;
}

.service-feature li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.service-feature li:hover {
    color: var(--primary-color);
}

.service-cta {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 12px 30px;
    border-radius: 15px;
    transition: all 0.3s ease;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    border: 2px solid transparent;
    text-decoration: none;
    margin-top: auto;
}

.service-cta:hover {
    background-color: var(--secondary-color);
    transform: scale(1.02);
}

/* ========== PORTFOLIO ========== */
.projects-section {
    padding: 60px 0;
    background-color: white;
}

.projects-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.project-card {
    background-color: #e9ecef;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 30px 40px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}

.project-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.project-image {
    position: relative;
    height: 300px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(107, 33, 168, 0.8) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.project-card:hover .project-overlay {
    opacity: 0.5;
}

.project-content {
    padding: 25px;
}

.project-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.project-location {
    color: var(--primary-color);
    font-weight: 600;
}

.project-date {
    color: var(--gray-color);
    font-weight: 600;
}

/* ========== FOOTER ========== */
footer {
    background-color: var(--primary-color);
    color: white;
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
    align-items: flex-start;
}

.footer-logo {
    margin-bottom: 20px;
    font-size: 1.8rem;
    font-weight: 700;
}

.footer-text {
    color: #e5e5e5;
    margin-bottom: 20px;
}

.footer-title {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
}

.footer-title::after {
    content: "";
    display: block;
    margin: 10px 0;
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #e5e5e5;
    transition: all 0.3s ease-in-out;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease-in-out;
}

.social-link:hover {
    transform: scale(1.2);
}

.copyright {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid white;
    color: #e5e5e5;
    font-size: 0.9rem;
}

/* ========== ALERT BOX ========== */
.alert-box {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    z-index: 1001;
}

.alert-box.show {
    display: flex;
}

.alert-content {
    background-color: white;
    padding: 40px;
    border: none;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    max-width: 500px;
    width: 90%;
}

.alert-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.alert-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--gray-color);
    line-height: 1.6;
}

.alert-content button,
.confirm-btn {
    color: white;
    background-color: var(--primary-color);
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.alert-content button:hover,
.confirm-btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(107, 33, 168, 0.3);
}

.confirm-btn a {
    color: white;
    text-decoration: none;
}

/* ========== OVERLAY ========== */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 105%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ========== ANIMATIONS ========== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== RESPONSIVE DESIGN ========== */

/* Medium-Large Screens (992px - 1199px) */
@media (max-width: 1199px) {
    .container {
        width: 95%;
    }
    .hero{
        height: 100vh;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .contact-container {
        gap: 2rem;
        padding: 0 1rem;
        grid-template-columns: 1fr;
    }
    .special {
        grid-template-columns: repeat(2, 1fr);
        justify-items: center;
    }
    
}

/* Medium Screens (768px - 991px) */
@media (max-width: 991px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 700px;
    }
    #services{
        padding: 50px 0;
    }
    #about {
        padding: 50px 0;
    }
    
    
    
    .service-card,
    .specialty {
        min-height: 280px;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-form-grid {
        grid-template-columns: 1fr;
    }
    
    .textarea-group,
    .contact-form-grid button {
        grid-column: span 1;
    }
    
    .form-row-wide {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .checkbox-group-wide {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* Small-Medium Screens (768px - 820px) */
@media (max-width: 820px) {
    /* Mobile Navigation */
    .mobile-toggle {
        display: block;
    }
    
    .nav-bar {
        position: fixed;
        top: 99px;
        right: -100%;
        width: 60%;
        height: 100vh;
        background-color: white;
        padding: 40px 20px;
        box-shadow: var(--shadow);
        transition: all 0.3s ease-in-out;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }
    
    .nav-bar.active {
        right: 0;
        z-index: 1000;
    }
    
    .nav-bar ul {
        flex-direction: column;
        width: 100%;
        gap: 0;
    }
    
    .nav-bar ul li {
        width: 100%;
        margin: 10px 0;
    }
    
    .nav-bar ul li a {
        width: 100%;
        text-align: center;
        padding: 12px 20px;
        border-radius: 8px;
        transition: all 0.3s ease;
    }

    .nav-bar a:hover::after {
    opacity: 0;
    }
    .hero-btns {
        flex-direction: column;
        gap: 10px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-contact h1 {
        font-size: 2.5rem;
    }
    
    .hero-contact p {
        font-size: 1.1rem;
    }
    
    .main-selector,
    .process-selector,
    .region-selector {
        flex-direction: column;
        align-items: center;
    }
    
    .main-btn,
    .process-btn,
    .region-btn {
        width: 100%;
        max-width: 300px;
    }
    
    .process-grid,
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .service-detail-grid {
        grid-template-columns: 1fr;
    }
    
    .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

/* Small Screens (481px - 767px) */
@media (max-width: 767px) {
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .hero-title {
        font-size: 2rem;
        text-align: center;
    }
    #about{
        padding-bottom: 0;
    }
    .hero-subtitle {
        font-size: 1rem;
        text-align: center;
    }
    
    .hero-contact {
        padding: 140px 0 60px 0;
    }
    
    .hero-contact h1 {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    
    .special {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .contact-left,
    .contact-right {
        padding: 1.5rem;
    }
    
    .contact-left h2,
    .contact-right h2 {
        font-size: 24px;
    }
    
    .contact-box {
        padding: 20px;
    }
    
    .contact-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-bottom: 20px;
    }
    
    .icon {
        margin-bottom: 10px;
    }
    
    .form-section-wide {
        padding: 40px 20px;
    }
    
    .form-section-wide h2 {
        font-size: 2rem;
    }
    
    .form-section-wide .subtitle {
        font-size: 1.1rem;
    }
    
    .submit-btn-wide {
        padding: 20px 40px;
        font-size: 1.2rem;
    }
    
    .content-wrapper {
        padding: 2rem 1rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        /* text-align: center; */
    }
    
    .service-detail-grid {
        grid-template-columns: 1fr;
    }
    
    .service-detail-card {
        min-width: auto;
    }
}

/* Extra Small Screens (320px - 480px) */
@media (max-width: 480px) {
    header {
        height: 80px;
    }
    .nav-bar {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 60%;
        height: 100vh;
        background-color: white;
        padding: 40px 20px;
        box-shadow: var(--shadow);
        transition: all 0.3s ease-in-out;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }
    .header-container {
        padding: 15px 0;
    }
    
    .container {
        padding: 0 10px;
    }
    #services{
        padding: 30px 0;
    }
    #about{
        padding: 30px 0;
    }
    .hero-title {
        font-size: 1.8rem;
        text-align: center;
    }
    .hero-subtitle{
        text-align: center;
    }
    .hero-contact{
        padding: 100px 0 30px 0;
    }
    .hero-contact h1 {
        font-size: 1.8rem;
    }
    .hero-contact p {
        font-size: 1rem;
    }
    
    .company-logo {
        width: 150px;
        margin: 5px;
    }
    .special {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 0px;
        justify-content: center;
        align-items: start; /* Add this to align items to the top */
        margin: 0;
        padding: 0 20px;
        cursor: pointer;
    }
    .service-detail-content p  {
        text-align: justify;
    }
    .nav-bar {
        width: 80%;
    }
    
    .contact-container {
        padding: 15px;
    }
    
    .contact-left,
    .contact-right {
        padding: 1rem;
    }
    
    .contact-left h2,
    .contact-right h2 {
        font-size: 20px;
        text-align: center;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 10px;
        font-size: 14px;
    }
    
    .contact-form-grid {
        gap: 15px;
    }
    
    .icon {
        width: 50px;
        height: 50px;
    }
    
    .icon img {
        width: 20px;
        height: 20px;
    }
    
    .form-section-wide {
        padding: 30px 15px;
    }
    .contact-section{
        padding: 10px 0;
    }
    .projects-section{
        padding: 40px 0;
    }
    .cta-section{
        padding: 40px 0;
    }
    .checkbox-item-wide {
        flex-direction: column;
        text-align: center;
        gap: 10px;
        padding: 20px 15px;
    }
    
    .main-btn {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    
    .process-btn,
    .region-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .process-step,
    .info-card {
        padding: 1.5rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .project-image {
        height: 250px;
    }
    
    .service-detail-card {
        padding: 1.5rem;
    }
    
    .service-detail-card h2 {
        font-size: 1.5rem;
        flex-direction: column;
        gap: 10px;
    }
    .social-links {
        display: flex;
        gap: 15px;
        /* justify-content: center; Centers the social icons */
    }
    .footer-title::after {
        content: "";
        display: block;
        /* margin: 10px auto; Changed from '10px 0' to center it */
        width: 60px;
        height: 3px;
        background-color: var(--secondary-color);
    }
    .service-detail-icon {
        margin: 0 auto 20px auto;
    }
}

/* Ultra Small Screens (max 320px) */
@media (max-width: 320px) {
    .hero-title {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .hero-contact h1 {
        font-size: 1.5rem;
    }
    
    .main-btn,
    .process-btn,
    .region-btn {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }
    
    .form-section-wide h2 {
        font-size: 1.8rem;
    }
    
    .submit-btn-wide {
        padding: 15px 30px;
        font-size: 1rem;
    }
}