/* Page Hero - Professional Design Matching Header/Footer Theme */
.page-hero {
    padding: 60px 0 50px;
    background: linear-gradient(135deg, #052D69 0%, #0a4da3 50%, #052D69 100%);
    background-size: 200% 200%;
    animation: pageHeroGradientShift 10s ease infinite;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 70px;
    box-shadow: 0 4px 30px rgba(5, 45, 105, 0.3);
}

@keyframes pageHeroGradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.08) 50%, 
        transparent 100%);
    animation: pageHeroShimmer 4s infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes pageHeroShimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

.page-hero::after {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, 
        rgba(5, 45, 105, 0.3) 0%, 
        rgba(5, 45, 105, 0.15) 40%, 
        transparent 70%);
    border-radius: 50%;
    animation: pageHeroGlow 20s ease-in-out infinite;
    filter: blur(50px);
    pointer-events: none;
    z-index: 0;
}

@keyframes pageHeroGlow {
    0%, 100% {
        transform: scale(1) translate(0, 0);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.3) translate(-30px, -30px);
        opacity: 0.7;
    }
}

.page-hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    animation: pageHeroContentFade 0.8s ease-out;
}

@keyframes pageHeroContentFade {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.page-hero-title {
    font-size: clamp(28px, 4.5vw, 42px);
    font-weight: 700;
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 1) 0%, 
        rgba(255, 255, 255, 0.9) 50%, 
        rgba(255, 255, 255, 1) 100%);
    background-size: 200% 100%;
    animation: pageHeroTitleShine 4s ease infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 14px;
    text-shadow: 0 4px 20px rgba(255, 255, 255, 0.3);
    filter: drop-shadow(0 2px 10px rgba(255, 255, 255, 0.2));
    position: relative;
    display: inline-block;
}

@keyframes pageHeroTitleShine {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.page-hero-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.8) 50%, 
        transparent 100%);
    border-radius: 2px;
    animation: pageHeroUnderline 1s ease-out 0.5s forwards;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

@keyframes pageHeroUnderline {
    to {
        width: 60%;
    }
}

.page-hero-subtitle {
    font-size: clamp(14px, 1.8vw, 17px);
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    font-weight: 400;
    letter-spacing: 0.2px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    animation: pageHeroSubtitleFade 1s ease-out 0.3s both;
}

@keyframes pageHeroSubtitleFade {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 80px 0 50px;
        margin-top: 70px;
    }
}
/* Contact Details Grid */
.contact-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
    width: 100%;
}

/* Tablet Contact Grid */
@media (max-width: 1024px) {
    .contact-details-grid {
        gap: 30px;
    }
}

/* Mobile Contact Grid */
@media (max-width: 768px) {
    .contact-details-grid {
        grid-template-columns: 1fr;
        gap: 35px;
        width: 100%;
    }
}

/* Contact Map Section */
.contact-map-section {
    padding: 20px 0;
}

.contact-map-section .contact-section-title {
    margin-bottom: 20px;
}

/* Contact Section Title */
.contact-section-title {
    font-size: clamp(22px, 3vw, 26px);
    font-weight: 700;
    letter-spacing: 0.3px;
    background: linear-gradient(135deg, #000 0%, #052D69 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 24px;
    position: relative;
    display: inline-block;
}

.contact-section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #052D69, rgba(5, 45, 105, 0.5));
    border-radius: 2px;
    transition: width 0.4s ease;
}

.contact-section-title:hover::after {
    width: 100px;
}

.contact-section-title.text-center {
    text-align: center;
    display: block;
}

.contact-section-title.text-center::after {
    left: 50%;
    transform: translateX(-50%);
}

/* Contact Info Section */
.contact-info-section {
    padding: 20px 0;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-info-item {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    padding: 20px;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(5, 45, 105, 0.1);
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.contact-info-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(5, 45, 105, 0.05) 50%, 
        transparent 100%);
    transition: left 0.5s ease;
}

.contact-info-item:hover {
    transform: translateX(8px) translateY(-2px);
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(5, 45, 105, 0.2);
    box-shadow: 0 8px 25px rgba(5, 45, 105, 0.15);
}

.contact-info-item:hover::before {
    left: 100%;
}

.contact-info-icon {
    font-size: 24px;
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(5, 45, 105, 0.1), rgba(5, 45, 105, 0.05));
    border: 2px solid rgba(5, 45, 105, 0.15);
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-info-item:hover .contact-info-icon {
    background: linear-gradient(135deg, #052D69, rgba(5, 45, 105, 0.8));
    border-color: #052D69;
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 4px 15px rgba(5, 45, 105, 0.3);
}

.contact-info-content {
    flex: 1;
}

.contact-info-label {
    font-size: 13px;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.contact-info-link {
    font-size: 15px;
    font-weight: 500;
    color: #052D69;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.contact-info-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #052D69;
    transition: width 0.3s ease;
}

.contact-info-link:hover {
    color: #000000;
    transform: translateX(3px);
}

.contact-info-link:hover::after {
    width: 100%;
}

.contact-info-text {
    font-size: 16px;
    line-height: 1.7;
    color: #444;
    margin: 0;
}

/* Contact Form Section */
.contact-form-section {
    padding: 20px 0;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    font-size: 14px;
    font-weight: 600;
    color: #052D69;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 14px 18px;
    font-size: 16px;
    font-family: inherit;
    color: #000;
    background: #ffffff;
    border: 2px solid rgba(5, 45, 105, 0.2);
    border-radius: 10px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    box-shadow: 0 2px 8px rgba(5, 45, 105, 0.05);
}

.form-input:focus,
.form-textarea:focus {
    border-color: #052D69;
    box-shadow: 0 0 0 4px rgba(5, 45, 105, 0.1), 0 4px 15px rgba(5, 45, 105, 0.15);
    transform: translateY(-2px);
    background: #ffffff;
}

.form-textarea {
    resize: vertical;
    min-height: 140px;
    font-family: inherit;
}

.form-submit {
    width: 100%;
    margin-top: 10px;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border: none;
}

.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(5, 45, 105, 0.3);
}

.form-submit:active {
    transform: translateY(0);
}

.form-message {
    padding: 14px 18px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    margin-top: 10px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.form-message.success {
    background: rgba(0, 200, 0, 0.1);
    color: #00aa00;
    border: 2px solid #00aa00;
    opacity: 1;
    visibility: visible;
}

.form-message.error {
    background: rgba(255, 0, 0, 0.1);
    color: #ff0000;
    border: 2px solid #ff0000;
    opacity: 1;
    visibility: visible;
}

/* Contact Map Section */
.contact-map-section {
    padding: 20px 0;
    width: 100%;
}

.contact-map-section .contact-map-wrapper {
    width: 100%;
}

.contact-map-wrapper {
    width: 100%;
    height: 450px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(5, 45, 105, 0.15);
    border: 2px solid rgba(5, 45, 105, 0.1);
    transition: all 0.4s ease;
    position: relative;
}

.map-marker {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -100%) rotate(-45deg);
    width: 28px;
    height: 28px;
    background: #e30613;
    border-radius: 50% 50% 50% 0;
    box-shadow: 0 12px 25px rgba(227, 6, 19, 0.45);
    animation: mapMarkerPulse 2.2s ease-in-out infinite;
    pointer-events: none;
    z-index: 3;
}

.map-marker-dot {
    position: absolute;
    top: 7px;
    left: 7px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ffffff;
}

.map-marker::after {
    content: '';
    position: absolute;
    bottom: -14px;
    left: 50%;
    transform: translateX(-50%);
    width: 22px;
    height: 8px;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 50%;
    filter: blur(2px);
    opacity: 0.6;
}

.map-marker-label {
    position: absolute;
    top: calc(50% - 60px);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.75);
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.3px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
    pointer-events: none;
    z-index: 3;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

@keyframes mapMarkerPulse {
    0%, 100% {
        transform: translate(-50%, -100%) rotate(-45deg) scale(1);
        box-shadow: 0 12px 25px rgba(227, 6, 19, 0.45);
    }
    50% {
        transform: translate(-50%, -100%) rotate(-45deg) scale(1.08);
        box-shadow: 0 16px 30px rgba(227, 6, 19, 0.35);
    }
}

.contact-map-wrapper:hover {
    box-shadow: 0 12px 40px rgba(5, 45, 105, 0.25);
    border-color: rgba(5, 45, 105, 0.2);
    transform: translateY(-3px);
}

.contact-map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* Mobile Map */
@media (max-width: 768px) {
    .contact-map-wrapper {
        height: 350px;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .contact-map-wrapper {
        height: 300px;
    }
}



/* Contact Page Responsive */
@media (max-width: 1024px) {
    .contact-details-grid {
        gap: 40px;
    }

    .contact-map-wrapper {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 90px 0 60px;
        margin-top: 70px;
    }

    .page-hero-title {
        font-size: clamp(32px, 8vw, 42px) !important;
        margin-bottom: 18px;
        line-height: 1.3;
        text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5) !important;
        filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4)) !important;
    }

    .page-hero-subtitle {
        font-size: clamp(17px, 4.5vw, 20px) !important;
        line-height: 1.8;
        padding: 0 20px;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4) !important;
        color: rgba(255, 255, 255, 0.95) !important;
    }

    .contact-details-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .contact-section-title {
        font-size: clamp(26px, 6vw, 30px) !important;
        margin-bottom: 28px;
        line-height: 1.3;
    }

    .contact-info-list {
        gap: 18px;
    }

    .contact-info-item {
        padding: 22px;
        gap: 18px;
    }

    .contact-info-icon {
        font-size: 26px;
        width: 55px;
        height: 55px;
    }

    .contact-info-label {
        font-size: 14px !important;
        margin-bottom: 10px;
    }

    .contact-info-link {
        font-size: 18px !important;
        line-height: 1.6;
    }

    .contact-info-text {
        font-size: 17px !important;
        line-height: 1.8;
    }

    .contact-map-wrapper {
        height: 400px;
        border-radius: 16px;
    }

    .contact-form {
        gap: 22px;
        width: 100%;
    }
    
    .form-group {
        width: 100%;
    }
    
    .form-label {
        font-size: 15px !important;
        margin-bottom: 10px;
        word-wrap: break-word;
    }
    
    .form-input,
    .form-textarea {
        padding: 16px 18px;
        font-size: 16px !important;
        line-height: 1.6;
        min-height: 50px;
        border-width: 2px;
        width: 100%;
        box-sizing: border-box;
        -webkit-appearance: none;
        border-radius: 10px;
    }

    .form-textarea {
        min-height: 150px;
        line-height: 1.7;
        resize: vertical;
    }

    .form-submit {
        padding: 16px 32px;
        font-size: 17px !important;
        font-weight: 600;
        min-height: 50px;
        margin-top: 10px;
        width: 100%;
        touch-action: manipulation;
    }

    .form-message {
        font-size: 15px !important;
        padding: 14px 18px;
        line-height: 1.6;
        word-wrap: break-word;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .page-hero {
        padding: 80px 0 50px;
    }

    .page-hero-title {
        font-size: clamp(28px, 9vw, 36px) !important;
    }

    .page-hero-subtitle {
        font-size: clamp(16px, 5vw, 19px) !important;
        padding: 0 16px;
    }

    .contact-section-title {
        font-size: clamp(24px, 7vw, 28px) !important;
    }

    .contact-info-item {
        padding: 18px;
        width: 100%;
        box-sizing: border-box;
    }

    .contact-info-icon {
        width: 48px;
        height: 48px;
        font-size: 22px;
        flex-shrink: 0;
    }

    .contact-info-link {
        font-size: 16px !important;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .contact-info-text {
        font-size: 15px !important;
        word-wrap: break-word;
        line-height: 1.7;
    }

    .contact-map-wrapper {
        height: 300px;
        width: 100%;
    }

    .form-input,
    .form-textarea {
        padding: 14px 16px;
        font-size: 16px !important;
        width: 100%;
        box-sizing: border-box;
    }

    .form-submit {
        padding: 15px 28px;
        font-size: 16px !important;
        min-height: 48px;
        width: 100%;
    }
    
    .contact-section-title {
        word-wrap: break-word;
        width: 100%;
    }
}

