/* Custom styles for Kasturi Architect website */

:root {
    --white: #ffffff;
    --light-blue: #e3f2fd;
    --dark-blue: #1976d2;
    --text-dark: #212529;
    --shadow: rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
}



@keyframes scroll {
    0% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(-100%);
    }
}


.bg-light-blue {
    background-color: var(--light-blue) !important;
}

.bg-dark-blue {
    background-color: var(--dark-blue) !important;
}

.text-dark-blue {
    color: var(--dark-blue) !important;
}

.text-golden {
    color: #FFD700 !important;
    /* Golden color */
}
.text-orange{
    color: orange;
}

.text-shadow {
    text-shadow: 0.5px 0.5px 1px rgba(0, 0, 0, 0.5);
}

.btn-dark-blue {
    background-color: var(--dark-blue);
    border-color: var(--dark-blue);
    color: var(--white);
}

.btn-dark-blue:hover {
    background-color: #1565c0;
    border-color: #1565c0;
    color: var(--white);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar-logo {
    height: 70px;
    width: auto;
}
.small-year {
    display: block;
    font-size: 12px;
    line-height: 1.1;
    margin-top: 2px;
    /* adjust karein */
}

.navbar-brand h3 {
    margin: 0;
    color: var(--dark-blue);
}

.navbar-nav .nav-link {
    color:  orange;
    text-shadow: 0.5px 0.5px 1px rgba(0, 0, 0, 0.5);
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: blue;
    transition: width 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: blue;
    transition: width 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover {
    color: var(--dark-blue);
}

.navbar-nav .nav-link:hover::before,
.navbar-nav .nav-link:hover::after {
    width: 100%;
}

.navbar-transparent {
    /*background-color: rgba(255, 255, 255, 0.493) !important;*/
    box-shadow: none !important;
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
}

nav,
.navbar {
    max-width: 100%;
    overflow-x: hidden;
}

html,
body {
    overflow-x: hidden;
}

.navbar-transparent .navbar-nav .nav-link {
    color:  orange  !important;
}

.navbar-transparent .navbar-brand h3 {
    color: orange !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.card-img-end {
    border-radius: 50%;
    height: 400px;
    padding: 40px;

}


.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    display: flex;
    align-items: flex-end;
    padding: 40px;
    color: white;
}

.hero-slide.active {
    opacity: 1;
}

.hero-content {
    max-width: 600px;
}

.hero {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    animation: backgroundChange 20s infinite;
}

@keyframes backgroundChange {
    0% {
        background-image: url('images/5.jpg');
    }

    25% {
        background-image: url('images/11.jpg');
    }

    50% {
        background-image: url('images/12.jpg');
    }

    75% {
        background-image: url('images/13.jpg');
    }

    100% {
        background-image: url('images/5.jpg');
    }
}

.hero-text-bottom {
    background-color: rgba(0, 0, 0, 0.7);
    padding: 3rem 2rem;
    border-radius: 15px 15px 0 0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.hero-text-bottom h1 {
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-text-bottom p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
}

.hero-text-bottom .btn {
    margin-top: 1rem;
    border-width: 2px;
}

.hero-text-bottom .btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: white;
}

.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    
}

.card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.3),
        0 0 0 5px #FFFF00,
        0 0 30px #FFFF00,
        0 0 60px #FFFF00,
        0 0 90px #FFFF00,
        0 0 120px rgba(255, 255, 0, 0.95),
        0 0 150px rgba(255, 255, 0, 0.9),
        0 0 180px rgba(255, 255, 0, 0.85),
        0 0 210px rgba(255, 255, 0, 0.8);
    border: 3px solid #FFFF00;
    background: rgba(255, 255, 0, 0.05);
}

.card-3d {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    perspective: 1000px;
}

.card-3d:hover {
    transform: translateY(-10px) scale(1.02) rotateX(5deg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border-color: var(--dark-blue);
}

/* Icon styles */
.section-icon {
    margin-right: 10px;
    color: var(--dark-blue);
    transition: transform 0.3s ease, color 0.3s ease;
}

.section-icon:hover {
    transform: scale(1.2) rotate(10deg);
    color: #FFD700;
}

.card-icon {
    font-size: 2rem;
    color: var(--dark-blue);
    margin-bottom: 1rem;
    transition: transform 0.3s ease, color 0.3s ease;
}

.card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
    color: #FFD700;
}

/* Button enhancements */
.btn-dark-blue {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-dark-blue::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-dark-blue:hover::before {
    left: 100%;
}

.btn-dark-blue:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(25, 118, 210, 0.4);
}

/* Modal enhancements */
.modal-content {
    border-radius: 15px;
    border: none;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-header {
    border-bottom: 1px solid #e9ecef;
    border-radius: 15px 15px 0 0;
}

.modal-footer {
    border-top: 1px solid #e9ecef;
    border-radius: 0 0 15px 15px;
}
.brand-align {
    display: inline-block;
    margin-top: 20px;
    /* is value ko adjust kar sakte ho */
}
footer {
    margin-top: auto;
    background-color: transparent !important;
}

footer h5 {
    color: var(--white);

    margin-bottom: 1rem;
}

footer p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
}

footer .footer-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

footer .footer-link:hover {
    color: var(--white);
    text-decoration: underline;
}

footer .contact-info i {
    color: orange;
    font-size: 1rem;
}
footer .footer-resources i {

    color: orange;
    font-size: 1rem;
}

.footer-logo {
    height: 120px;
    width: auto;
    margin-right: 10px;
}

/* Project card hover effects */
.project-card {
    position: relative;
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
    cursor: pointer;
}

.project-card:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.project-card:hover img {
    transform: scale(1.05);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(25, 118, 210, 0.9);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 8px;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-content {
    text-align: center;
    color: white;
}

.project-content h5 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: white;
}

.project-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

.project-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.project-category,
.project-year {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
}

/* Project filter buttons */
.project-filters .filter-btn {
    transition: all 0.3s ease;
    border-radius: 25px;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-filters .filter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.project-filters .filter-btn.active {
    box-shadow: 0 4px 12px rgba(25, 118, 210, 0.4);
}

/* Project items animation */
.project-item {
    transition: all 0.3s ease;
}

.project-item[style*="display: none"] {
    opacity: 0;
    transform: translateY(20px);
}

.project-item[style*="display: block"] {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }
}

/* Enhanced loading animation styles */
.loading-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.btn.loading {
    pointer-events: none;
    position: relative;
}

.btn.loading::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: inherit;
    z-index: 1;
}

.btn.loading .loading-text {
    position: relative;
    z-index: 2;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

/* Animation classes */
.fade-in {
    opacity: 0;
    animation: fadeIn 1s ease-in-out forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.slide-up {
    transform: translateY(30px);
    opacity: 0;
    animation: slideUp 0.8s ease-out forwards;
}

@keyframes slideUp {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Contact Page Styles */
.contact-hero {
   background: linear-gradient(135deg, #1976d2 0%, #1565c0 100%);

    min-height: 60vh;
    position: relative;
    overflow: hidden;
}
.map-container {
    position: relative;
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    cursor: pointer;
    background: transparent;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('images/contactbg.png') center/cover;
    opacity: 0.1;
}

.contact-info-card {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    height: fit-content;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.icon-wrapper {
    width: 50px;
    height: 50px;
    background: orange;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-form-card {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.modern-input,
.modern-textarea {
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.modern-input:focus,
.modern-textarea:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
    background: white;
    transform: translateY(-2px);
}

.modern-textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-modern {
   background: orange;
    border: none;
    border-radius: 12px;
    padding: 1rem 2rem;
    font-weight: 600;
    font-size: 1.1rem;
    color: white;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-modern:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
    color: orange;
}

.btn-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-modern:hover::before {
    left: 100%;
}

.form-label {
    color: #495057;
    margin-bottom: 0.5rem;
}

/* Contact form alerts styling */
.contact-form-card .alert {
    margin-bottom: 2rem;
    border-radius: 12px;
    border: none;
    padding: 1rem 1.5rem;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.contact-form-card .alert-success {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
}

.contact-form-card .alert-danger {
    background: linear-gradient(135deg, #dc3545 0%, #fd7e14 100%);
    color: white;
}

/* Responsive adjustments for contact page */
@media (max-width: 768px) {
    .contact-hero {
        min-height: 50vh;
        padding: 4rem 0;
    }

    .contact-info-card,
    .contact-form-card {
        padding: 2rem;
        margin: 0 1rem;
    }

    .contact-info-item {
        gap: 1rem;
    }

    .icon-wrapper {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* Media Insights Page Styles */
.media-hero {
    background: linear-gradient(135deg, #1976d2 0%, #1565c0 100%);
    min-height: 70vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.media-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('images/5.jpg') center/cover;
    opacity: 0.3;
    animation: backgroundChange 15s infinite;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.3rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    margin-bottom: 2rem;
}

.hero-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.hero-icons i {
    color: #FFD700;
    transition: transform 0.3s ease, color 0.3s ease;
}

.hero-icons i:hover {
    transform: scale(1.2) rotate(10deg);
    color: white;
}

/* Background Shapes */
.bg-shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(25, 118, 210, 0.1), rgba(255, 215, 0, 0.1));
    z-index: -1;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    left: -5%;
    animation: float 6s ease-in-out infinite;
}

.shape-2 {
    width: 200px;
    height: 200px;
    top: 60%;
    right: -3%;
    animation: float 8s ease-in-out infinite reverse;
}

.shape-3 {
    width: 150px;
    height: 150px;
    bottom: 20%;
    left: 50%;
    animation: float 10s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Enhanced Card Styles */
.card-3d {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.card-3d:hover {
    transform: translateY(-15px) rotateX(5deg) scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.card-3d .card-img-top {
    transition: transform 0.4s ease;
}

.card-3d:hover .card-img-top {
    transform: scale(1.1);
}

.card-3d .card-body {
    padding: 2rem;
}

.card-3d .card-title {
    color: var(--dark-blue);
    font-weight: 600;
    margin-bottom: 1rem;
}

.card-3d .card-text {
    color: #6c757d;
    line-height: 1.6;
}

/* Section Headers */
section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    position: relative;
}

section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--dark-blue), #FFD700);
    border-radius: 2px;
}

/* Modal Enhancements */
.modal-content {
    border-radius: 20px;
    border: none;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.modal-header {
    background: linear-gradient(135deg, var(--dark-blue), #1565c0);
    color: white;
    border-bottom: none;
    padding: 2rem;
}

.modal-title {
    font-weight: 600;
    font-size: 1.5rem;
}

.modal-body {
    padding: 2.5rem;
    line-height: 1.7;
}

.modal-body h3 {
    color: var(--dark-blue);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.modal-body ul {
    padding-left: 1.5rem;
}

.modal-body li {
    margin-bottom: 0.5rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .media-hero {
        min-height: 50vh;
        padding: 4rem 0;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .hero-icons {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .hero-icons i {
        font-size: 1.5rem;
    }

    section h2 {
        font-size: 2rem;
    }

    .card-3d .card-body {
        padding: 1.5rem;
    }

    .bg-shape {
        display: none;
    }
}