/* Page-specific rules extracted from additions.css; source order within each page bundle is retained. */
/* Contact Page Redesign - Hero Section */
.contact-hero {
    position: relative;
    height: 400px;
    background: linear-gradient(135deg, #56CCF2 0%, #2F80ED 50%, #FFA726 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.1)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,165.3C1248,149,1344,107,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
}

.contact-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255, 167, 38, 0.2) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(255, 112, 67, 0.2) 0%, transparent 50%);
}

.contact-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
}

.contact-hero-title {
    font-size: 70.4px;
    font-weight: 700;
    margin-bottom: 20px;
    font-family: 'Rajdhani', sans-serif;
    text-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.contact-hero-subtitle {
    font-size: 22px;
    margin-bottom: 30px;
    opacity: 0.95;
}

.contact-hero-divider {
    width: 100px;
    height: 4px;
    background: white;
    margin: 0 auto;
    border-radius: 2px;
}

/* Contact Info Cards Section */
.contact-info-section {
    padding: 80px 0;
    background: #f8f9fa;
    margin-top: -50px;
    position: relative;
    z-index: 3;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.contact-info-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.contact-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #FFA726, #FF7043);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.contact-info-card:hover::before {
    transform: scaleX(1);
}

.contact-info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.contact-info-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #FFA726, #FF7043);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: all 0.4s ease;
}

.contact-info-card:hover .contact-info-icon {
    transform: rotateY(360deg);
}

.contact-info-icon i {
    font-size: 35.2px;
    color: white;
}

.contact-info-card h3 {
    font-size: 24.2px;
    font-weight: 700;
    color: #2C3E50;
    margin-bottom: 15px;
    font-family: 'Rajdhani', sans-serif;
}

.contact-info-card p {
    color: #666;
    font-size: 16.5px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.contact-info-card p a {
    color: inherit;
    text-decoration: none;
    font-weight: inherit;
}

.contact-info-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #FFA726;
    font-weight: 600;
    font-size: 15.4px;
    text-decoration: none;
    transition: all 0.3s;
    min-height: 48px;
    padding: 0 6px;
}

.contact-info-link:hover {
    gap: 12px;
    color: #FF7043;
}

.contact-info-link i {
    font-size: 13.2px;
}

/* Contact Main Section */
.contact-main-section {
    padding: 80px 0;
    background: white;
}

.contact-main-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

/* Contact Form Wrapper */
.contact-form-wrapper {
    background: radial-gradient(900px 420px at 12% 18%, rgba(93, 173, 226, 0.35) 0%, rgba(93, 173, 226, 0) 55%),
        radial-gradient(760px 420px at 88% 74%, rgba(255, 167, 38, 0.32) 0%, rgba(255, 167, 38, 0) 58%),
        linear-gradient(135deg, rgba(15, 23, 42, 0.96) 0%, rgba(30, 41, 59, 0.94) 55%, rgba(17, 24, 39, 0.96) 100%);
    padding: 50px;
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 18px 60px rgba(2, 6, 23, 0.35);
    backdrop-filter: blur(14px);
}

.contact-form-header {
    margin-bottom: 40px;
}

.contact-form-header h2 {
    font-size: 39.6px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 10px;
    font-family: 'Rajdhani', sans-serif;
}

.contact-form-header p {
    color: rgba(255, 255, 255, 0.78);
    font-size: 17.6px;
}

.modern-contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.modern-contact-form .form-group {
    position: relative;
    margin-bottom: 0;
}

.modern-contact-form .form-group label {
    position: absolute;
    top: -10px;
    left: 15px;
    background: rgba(15, 23, 42, 0.92);
    padding: 0 8px;
    font-size: 13.2px;
    font-weight: 600;
    color: rgba(255, 167, 38, 0.95);
    opacity: 0;
    transition: all 0.3s;
}

.modern-contact-form .form-group input:focus + label,
.modern-contact-form .form-group textarea:focus + label,
.modern-contact-form .form-group input:not(:placeholder-shown) + label,
.modern-contact-form .form-group textarea:not(:placeholder-shown) + label {
    opacity: 1;
}

.modern-contact-form input,
.modern-contact-form textarea {
    width: 100%;
    padding: 18px 20px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    font-size: 16.5px;
    color: rgba(15, 23, 42, 0.92);
    background: rgba(255, 255, 255, 0.92);
    transition: all 0.3s;
}

.modern-contact-form input:focus,
.modern-contact-form textarea:focus {
    outline: none;
    border-color: rgba(255, 167, 38, 0.72);
    box-shadow: 0 0 0 4px rgba(255, 167, 38, 0.22);
}

.modern-contact-form textarea {
    resize: vertical;
    min-height: 150px;
    font-family: inherit;
}

.btn-contact-submit {
    width: 100%;
    padding: 20px;
    background: linear-gradient(135deg, #FFA726, #FF7043);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 19.8px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.4s;
    margin-top: 20px;
}

.btn-contact-submit:hover {
    background: linear-gradient(135deg, #FF9800, #FF5722);
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(255, 167, 38, 0.4);
}

.btn-contact-submit i {
    font-size: 19.8px;
    transition: transform 0.4s;
}

.btn-contact-submit:hover i {
    transform: translateX(5px);
}

/* Contact Map Wrapper */
.contact-map-wrapper {
    background: white;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.contact-map-header {
    padding: 40px;
    background: linear-gradient(135deg, #56CCF2 0%, #2F80ED 50%, #FFA726 100%);
    color: white;
}

.contact-map-header h2 {
    font-size: 35.2px;
    font-weight: 700;
    margin-bottom: 8px;
    font-family: 'Rajdhani', sans-serif;
}

.contact-map-header p {
    font-size: 17.6px;
    opacity: 0.95;
}

.contact-map {
    height: 500px;
    position: relative;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
}

/* Contact Page Styling */
.contact-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
}

.contact-section .section-title {
    font-size: 52.8px;
    font-weight: 700;
    color: #2C3E50;
    text-align: center;
    margin-bottom: 15px;
    font-family: 'Rajdhani', sans-serif;
    position: relative;
}

.contact-section .section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #FFA726, #FF7043);
    border-radius: 2px;
}

.contact-section .section-subtitle {
    text-align: center;
    color: #7F8C8D;
    font-size: 19.8px;
    margin-bottom: 60px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 60px;
}

/* Contact Info Cards */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, #FFA726, #FF7043);
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #FFA726, #FF7043);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 26.4px;
    color: white;
}

.contact-details h3 {
    font-size: 22px;
    font-weight: 700;
    color: #2C3E50;
    margin-bottom: 10px;
    font-family: 'Rajdhani', sans-serif;
}

.contact-details p {
    color: #555;
    font-size: 16.5px;
    line-height: 1.8;
    margin: 0;
}

/* Contact Form */
.contact-form {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.contact-form h2 {
    font-size: 35.2px;
    font-weight: 700;
    color: #2C3E50;
    margin-bottom: 30px;
    font-family: 'Rajdhani', sans-serif;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-size: 15.4px;
    font-weight: 600;
    color: #2C3E50;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #E8E8E8;
    border-radius: 10px;
    font-size: 16.5px;
    color: #2C3E50;
    transition: all 0.3s;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #FFA726;
    box-shadow: 0 0 0 3px rgba(255, 167, 38, 0.1);
}

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

.btn-submit {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #FFA726, #FF7043);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 17.6px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-submit:hover {
    background: linear-gradient(135deg, #FF9800, #FF5722);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 167, 38, 0.3);
}

.btn-submit i {
    font-size: 19.8px;
}

/* Map Container */
.contact-section iframe {
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

/* Responsive Contact Page Redesign */
@media (max-width: 1200px) {
    .contact-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .contact-hero-title {
        font-size: 52.8px;
    }
    
    .contact-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-main-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-form-wrapper,
    .contact-map-wrapper {
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        height: clamp(220px, 58vw, 280px);
    }
    
    .contact-hero-title {
        font-size: clamp(22px, 7.6vw, 32px);
        margin-bottom: 10px;
        line-height: 1.08;
        padding: 0 10px;
    }
    
    .contact-hero-subtitle {
        font-size: clamp(12.5px, 3.8vw, 14.5px);
        margin-bottom: 16px;
        line-height: 1.55;
        padding: 0 14px;
    }

    .contact-hero-divider {
        width: 72px;
        height: 3px;
    }
    
    .contact-info-section {
        padding: clamp(26px, 6vw, 40px) 0;
        margin-top: -22px;
    }
    
    .contact-info-grid {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 12px;
    }
    
    .contact-info-card {
        padding: 14px 12px;
        border-radius: 18px;
        background: rgba(255, 255, 255, 0.86);
        border: 1px solid rgba(15, 23, 42, 0.08);
        box-shadow: 0 14px 40px rgba(2, 6, 23, 0.08);
    }
    
    .contact-info-icon {
        width: 52px;
        height: 52px;
        margin: 0 auto 12px;
        border-radius: 16px;
        box-shadow: 0 12px 28px rgba(255, 167, 38, 0.22);
    }
    
    .contact-info-icon i {
        font-size: 20px;
    }

    .contact-info-card h3 {
        font-size: clamp(14px, 4.2vw, 17px);
        margin-bottom: 8px;
        line-height: 1.15;
    }

    .contact-info-card p {
        font-size: clamp(12px, 3.4vw, 13.3px);
        line-height: 1.55;
        margin-bottom: 12px;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .contact-info-link {
        font-size: 13px;
        min-height: 40px;
        padding: 0;
    }
    
    .contact-main-section {
        padding: clamp(30px, 7vw, 44px) 0;
    }
    
    .contact-form-wrapper {
        padding: 16px 14px;
        border-radius: 22px;
        background: radial-gradient(520px 260px at 15% 20%, rgba(93, 173, 226, 0.32) 0%, rgba(93, 173, 226, 0) 58%),
            radial-gradient(480px 240px at 90% 80%, rgba(255, 167, 38, 0.28) 0%, rgba(255, 167, 38, 0) 60%),
            linear-gradient(135deg, rgba(15, 23, 42, 0.96) 0%, rgba(30, 41, 59, 0.94) 60%, rgba(17, 24, 39, 0.96) 100%);
        border: 1px solid rgba(255, 255, 255, 0.12);
        box-shadow: 0 18px 60px rgba(2, 6, 23, 0.35);
    }
    
    .contact-form-header h2 {
        font-size: clamp(16px, 5.2vw, 22px);
    }

    .contact-form-header {
        margin-bottom: 14px;
    }

    .contact-form-header p {
        font-size: clamp(12.2px, 3.6vw, 14px);
        line-height: 1.55;
        margin: 0;
    }

    .contact-form-header h2,
    .contact-form-header p {
        color: rgba(255, 255, 255, 0.9);
    }
    
    .modern-contact-form .form-row {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-bottom: 12px;
    }

    .modern-contact-form input,
    .modern-contact-form textarea {
        padding: 14px 14px;
        border-width: 1px;
        border-radius: 12px;
        font-size: 14px;
    }

    .modern-contact-form textarea {
        min-height: 120px;
    }

    .modern-contact-form .form-group label {
        top: -9px;
        left: 12px;
        font-size: 12px;
    }

    .btn-contact-submit {
        padding: 14px;
        font-size: 14.5px;
        border-radius: 14px;
        margin-top: 12px;
    }
    
    .contact-map-wrapper {
        padding: 0;
        border-radius: 22px;
        box-shadow: 0 18px 50px rgba(2, 6, 23, 0.1);
    }
    
    .contact-map-header {
        padding: 16px 14px;
    }
    
    .contact-map-header h2 {
        font-size: clamp(16px, 5vw, 20px);
    }

    .contact-map-header p {
        font-size: clamp(12px, 3.6vw, 13.8px);
        line-height: 1.5;
        margin: 0;
    }
    
    .contact-map {
        height: clamp(220px, 58vw, 320px);
    }
}

/* Old Contact Page Responsive */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-section .section-title {
        font-size: 39.6px;
    }
    
    .contact-form {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .contact-section {
        padding: 60px 0;
    }
    
    .contact-section .section-title {
        font-size: 35.2px;
    }
    
    .contact-item {
        padding: 20px;
    }
    
    .contact-icon {
        width: 50px;
        height: 50px;
    }
    
    .contact-icon i {
        font-size: 22px;
    }
    
    .contact-details h3 {
        font-size: 19.8px;
    }
    
    .contact-form {
        padding: 25px;
    }
    
    .contact-form h2 {
        font-size: 28.6px;
    }
}
