:root {
    --primary: #007bff; /* Colorlib's primary blue */
    --accent: #0056b3; /* Darker blue for hover */
    --success: #28a745;
    --danger: #dc3545;
}



/* Custom padding class */
.py-8 {
    padding-top: 8rem;
    padding-bottom: 8rem;
}


/* Wrapper */
.wrapper {
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

/* Form Container */
.contact-wrap {
    background: #fff;
    padding: 2rem;
}

/* Modern Form Styles */
.form-group {
    position: relative;
    margin-bottom: 2rem;
}

.modern-input {
   
    border-radius: 0;
    padding: 0.75rem;
    font-size: 1rem;
    width: 100%;
    background: transparent;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.modern-input:focus {
    outline: none;
    border-color: var(--primary);
    border-image: linear-gradient(to right, var(--accent), var(--primary)) 1;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

textarea.modern-input {
    resize: vertical;
    padding-top: 1rem;
}

.modern-label {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    font-size: 1rem;
    color: #1b1b1b;
    transition: all 0.2s ease;
    pointer-events: none;
}

.modern-input:focus ~ .modern-label,
.modern-input:not(:placeholder-shown) ~ .modern-label {
    top: -1.25rem;
    left: 0;
    font-size: 0.85rem;
    color: #151515;
}

/* Buttons */
.btn-primary {
    background: #d08400 ;
    border: none;
    border-radius: 0;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    color: #fff;
    transition: background 0.2s ease;
}

.btn-primary:hover {
    background: var(--accent);
}

/* Contact Details */
.info-wrap {
    background: #7a4d00;
    color: #fff;
    padding: 2rem;
}

.dbox {
    margin-bottom: 1.5rem;
}

.dbox .icon {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
}

.dbox .text {
    padding-left: 1rem;
}

.dbox .text span {
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
}

.dbox .text p {
    color: #fff;
    margin-bottom: 0;
}

.dbox .text a {
    color: #fff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.dbox .text a:hover {
    color: rgba(255, 255, 255, 0.8);
}

/* Typography */
h2.heading-section {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
}

h3 {
    font-size: 1.75rem;
    font-weight: 700;
}

p {
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
}

/* Alerts */
.alert-success {
    color: var(--success);
    background: transparent;
    border: none;
    padding: 0.5rem 0;
}

.alert-danger {
    color: var(--danger);
    background: transparent;
    border: none;
    padding: 0.5rem 0;
}


/* Animation Delays */
.animate__animated {
    --animate-duration: 0.8s;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .py-8 {
        padding-top: 6rem;
        padding-bottom: 6rem;
    }

    h2.heading-section {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    .contact-wrap,
    .info-wrap {
        padding: 1.5rem;
    }
}

@media (max-width: 576px) {
    h2.heading-section {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    .contact-wrap,
    .info-wrap {
        padding: 1rem;
    }

    .modern-input {
        font-size: 0.9rem;
        padding: 0.5rem;
    }

    .modern-label {
        font-size: 0.9rem;
    }

    .modern-input:focus ~ .modern-label,
    .modern-input:not(:placeholder-shown) ~ .modern-label {
        top: -1rem;
        font-size: 0.75rem;
    }

    .btn-primary {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }

    /* Disable animations on mobile */
    .animate__animated {
        animation: none !important;
    }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .btn-primary,
    .navbar-nav .nav-link,
    .footer .social-icons a,
    .footer .quick-links .nav-link,
    .modern-input {
        transition: none;
    }

    .animate__animated {
        animation: none !important;
    }
}