
/* Base Styles */
body {
    position: relative;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Helvetica Neue', Arial, sans-serif;
    color: #fff;
    background-color: #1a1a1a;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("images/building.jpg");
    background-size: cover;
    filter: brightness(0.3);
    z-index: -1;
}
body::after {
    content: '';
    position: fixed;
    bottom: 0;
    left: 0;
    width: var(--scroll-progress, 0%);
    height: 7px;
    background: linear-gradient(90deg, #007AFF, #00D4FF);
    z-index: 9999;
    transition: width 0.1s ease;
}
a {
    text-decoration: none;
    color: #fff;
    transition: all 0.3s ease;
}
a:hover {
    opacity: 0.9;
}

/* Glassy UI */
.glassy {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}
.glassy::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}
.glassy:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.2);
}
.glassy:hover::before {
    left: 100%;
}

/* Buttons */
.btn-primary, .btn-light {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: none;
    border-radius: 16px;
    padding: 16px 32px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.btn-primary {
    background: linear-gradient(135deg, #007AFF, #005BB5);
    box-shadow: 0 4px 15px rgba(0, 122, 255, 0.3);
}
.btn-primary:hover {
    background: linear-gradient(135deg, #005BB5, #003087);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 122, 255, 0.4);
}
.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}
.btn:active::before {
    width: 300px;
    height: 300px;
}
.btn.loading {
    pointer-events: none;
    opacity: 0.8;
}

/* Sections */
.section {
    padding: 120px 0;
    position: relative;
}
.section-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 24px;
    color: #fff;
    text-align: center;
    letter-spacing: -0.02em;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}
.section-title:after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #007AFF, #00D4FF);
    margin: 20px auto;
    border-radius: 2px;
    animation: expandWidth 1s ease 0.5s both;
}
@keyframes fadeInUp {
    to { opacity: 1; transform: translateY(0); }
}
@keyframes expandWidth {
    from { width: 0; }
    to { width: 100px; }
}
.sub-title {
    font-size: 16px;
    font-weight: 600;
    color: #007AFF;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 16px;
    text-align: center;
    display: block;
    position: relative;
}
.sub-title::before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -8px;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background: #007AFF;
    border-radius: 1px;
}

/* Page Title */
.page-title {
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.1), rgba(0, 212, 255, 0.05));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 150px 0 100px;
}
.title-outer {
    text-align: center;
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 1s ease 0.3s forwards;
}

/* Contact Section */
.contact-section {
    background: linear-gradient(rgba(0,0,0,0.75), rgba(0,0,0,0.75)), url('images/building-2.jpg');
    background-size: cover;
    background-attachment: fixed;
    position: relative;
}
.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 30%, rgba(0, 122, 255, 0.03) 50%, transparent 70%);
    pointer-events: none;
}
.contact-card {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    padding: 30px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 30px;
}
.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}
.contact-card i {
    font-size: 36px;
    color: #007AFF;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}
.contact-card:hover i {
    transform: scale(1.2);
}
.contact-card h5 {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
}
.contact-card p, .contact-card a {
    color: rgba(255, 255, 255, 0.85);
    font-size: 16px;
    line-height: 1.7;
}
.contact-card a:hover {
    color: #007AFF;
}

/* Form Section */
.form-container {
    padding: 40px;
}
.form-container .form-control {
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: #fff;
    padding: 14px 20px;
    font-size: 16px;
    transition: all 0.3s ease;
}
.form-container .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}
.form-container .form-control:focus {
    border-color: #007AFF;
    background: rgba(0, 0, 0, 0.1);
    box-shadow: 0 0 10px rgba(0, 122, 255, 0.2);
    outline: none;
}
.form-container textarea {
    resize: vertical;
    min-height: 120px;
}
.form-container .btn-primary {
    width: 100%;
    padding: 16px;
    font-size: 18px;
}
.form-container .invalid-feedback {
    color: #ff4d4f;
    font-size: 14px;
    margin-top: 5px;
}
.form-container .is-invalid {
    border-color: #ff4d4f;
}

/* Map Section */
.map-section {
    padding: 0;
    position: relative;
}
.map-section .glassy {
    padding: 20px;
    border-radius: 24px;
    overflow: hidden;
}
.map-section iframe {
    width: 100%;
    height: 400px;
    border-radius: 16px;
    border: none;
    filter: brightness(0.9);
    transition: filter 0.3s ease;
}
.map-section iframe:hover {
    filter: brightness(1);
}

/* WhatsApp Button */
.whatsapp {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 1000;
}
.whatsapp-img {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #25D366, #20B358);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    padding: 15px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
    animation: pulse 2s infinite;
}
.whatsapp-img:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.4);
}
@keyframes pulse {
    0% { box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3); }
    50% { box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5), 0 0 0 10px rgba(37, 211, 102, 0.1); }
    100% { box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3); }
}

/* Scroll to Top Button */
#scrollTopBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #007AFF, #005BB5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    box-shadow: 0 8px 25px rgba(0, 122, 255, 0.3);
}
#scrollTopBtn:hover {
    background: linear-gradient(135deg, #005BB5, #003087);
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(0, 122, 255, 0.4);
}
#scrollTopBtn.visible {
    opacity: 1;
    visibility: visible;
}

/* Scroll Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}
.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}
.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .section { padding: 100px 0; }
    .section-title { font-size: 42px; }
    .form-container { padding: 30px; }
    .contact-card { padding: 25px; }
}
@media (max-width: 768px) {
    .section { padding: 80px 0; }
    .section-title { font-size: 36px; }
    .form-container { padding: 25px; }
    .contact-card { padding: 20px; }
    .contact-card h5 { font-size: 22px; }
    .contact-card p, .contact-card a { font-size: 15px; }
    .map-section iframe { height: 350px; }
    .whatsapp-img { width: 60px; height: 60px; padding: 12px; }
    #scrollTopBtn { width: 50px; height: 50px; font-size: 20px; }
}
@media (max-width: 576px) {
    .section { padding: 60px 0; }
    .section-title { font-size: 32px; }
    .form-container { padding: 20px; }
    .contact-card { padding: 15px; }
    .contact-card h5 { font-size: 20px; }
    .contact-card p, .contact-card a { font-size: 14px; }
    .map-section iframe { height: 300px; }
    .whatsapp-img { width: 55px; height: 55px; padding: 10px; }
    #scrollTopBtn { width: 45px; height: 45px; font-size: 18px; }
}
