/* Custom CSS for AI Home Page - Light & Dark Blue Theme */

/* Global Styles */
body {
    padding-top: 130px; /* Account for fixed navbar with two rows */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(180deg, #E3F2FD 0%, #ffffff 100%);
    min-height: 100vh;
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1565C0;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(21, 101, 192, 0.1);
}

.title-underline {
    width: 100px;
    height: 5px;
    background: linear-gradient(90deg, #42A5F5, #1565C0, #0D47A1);
    margin: 0 auto 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(21, 101, 192, 0.3);
}

/* Slider Section */
.slider-section {
    margin-top: 0;
    position: relative;
}

.carousel-item img {
    height: 500px;
    object-fit: cover;
    filter: brightness(0.8) contrast(1.1);
}

.carousel-caption {
    background: linear-gradient(135deg, rgba(21, 101, 192, 0.85), rgba(13, 71, 161, 0.85));
    padding: 2.5rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.carousel-caption h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.carousel-caption p {
    font-size: 1.25rem;
    color: #E3F2FD;
}

/* About Section */
.about-section {
    background: linear-gradient(180deg, #ffffff 0%, #E3F2FD 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #42A5F5, #1565C0, #0D47A1);
}

.about-section img {
  
    width: 100%;
    object-fit: cover;
    border-radius: 15px;   
    
}



.about-section h3 {
    color: #1565C0;
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.about-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #42A5F5, #1565C0);
    border-radius: 2px;
}

.about-section p {
    line-height: 1.9;
    color: #424242;
    font-size: 1.05rem;
}

/* Announcements Section */
.announcements-section {
    background: #f5f5f5;
    padding: 5rem 0;
    position: relative;
}

.announcements-section .section-title {
    color: #1565C0;
    text-shadow: 0 2px 4px rgba(21, 101, 192, 0.1);
}

.announcements-section .title-underline {
    background: linear-gradient(90deg, #42A5F5, #1565C0, #0D47A1);
    box-shadow: 0 2px 8px rgba(21, 101, 192, 0.3);
}

.announcements-section .card {
    border: none;
    border-radius: 15px;
    transition: transform 3.20s ease, box-shadow 3.20s ease;
    background: #ffffff;
    overflow: hidden;
    border: 2px solid #e0e0e0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.announcements-section .card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(21, 101, 192, 0.25) !important;
    border-color: #1565C0;
}

.announcements-section .card-title {
    color: #1565C0;
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.announcements-section .date {
    font-weight: 500;
    color: #6c757d;
}

.announcements-section .card {
    height: 100%;
}

.announcements-section .card-img-top {
    border-radius: 15px 15px 0 0;
    transition: transform 0.10s ease;
}

.announcements-section .card:hover .card-img-top {
    transform: scale(1.05);
}

.announcements-section .date {
    color: #1565C0;
    font-weight: 600;
}

.announcements-section .card-text.text-muted {
    color: #666 !important;
}

.announcements-section .carousel-control-prev,
.announcements-section .carousel-control-next {
    width: 50px;
    height: 50px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.9;
    background: linear-gradient(135deg, #1565C0, #0D47A1);
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.announcements-section .carousel-control-prev {
    left: -25px;
}

.announcements-section .carousel-control-next {
    right: -25px;
}

.announcements-section .carousel-control-prev:hover,
.announcements-section .carousel-control-next:hover {
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.announcements-section .carousel-indicators {
    margin-bottom: -2rem;
}

.announcements-section .carousel-indicators button {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: linear-gradient(135deg, #64B5F6, #42A5F5);
    border: 3px solid #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.announcements-section .carousel-indicators button.active {
    background: linear-gradient(135deg, #E3F2FD, #BBDEFB);
    transform: scale(1.2);
}

/* Footer */
.footer-footer {
    background: linear-gradient(180deg, #0D47A1 0%, #13a1a1 100%) !important;
    position: relative;
    overflow: hidden;
}

.footer-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #42A5F5, #64B5F6, #90CAF9);
}

.footer-title {
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: #2196F3; /* Blue accent underline */
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    margin-top: 0.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.9) !important;
    text-decoration: none;
    transition: color 0.3s ease, padding-left 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: #fff !important;
    padding-left: 5px;
}

.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: flex-start;
    line-height: 1.5;
}

.footer-icon {
    font-size: 1.1rem;
    margin-right: 0.5rem;
    flex-shrink: 0;
}

.rajasthan-map {
    flex-shrink: 0;
}

.rajasthan-map svg {
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.footer-footer h3 {
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Footer Bottom Bar */
.footer-bottom-bar {
    background: linear-gradient(90deg, rgba(13, 71, 161, 0.8), rgba(21, 101, 192, 0.8));
    padding: 1.2rem 0;
    margin-top: 2rem;
    border-top: 2px solid rgba(66, 165, 245, 0.3);
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.2);
}

.footer-bottom-bar p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    margin: 0;
}

/* Navbar */
.navbar {
    box-shadow: 0 4px 15px rgba(21, 101, 192, 0.15);
    flex-direction: column;
}

.navbar-light {
    background: linear-gradient(180deg, #ffffff 0%, #ffffff 100%) !important;
    border-bottom: 3px solid #1565C0;
}

.navbar-brand img {
    margin-right: 10px;
}

/* Top Row (Light Theme) */
.navbar-light .navbar-brand {
    color: #333;
}

/* Menu Bar (Dark Blue Theme) */
.navbar .bg-dark {
    width: 100%;
    padding: 0.5rem 0;
    background: linear-gradient(135deg, #1565C0 0%, #0D47A1 100%) !important;
    box-shadow: 0 4px 15px rgba(13, 71, 161, 0.3);
}

.navbar-dark .navbar-nav .nav-link {
    font-weight: 600;
    margin: 0 8px;
    transition: all 0.3s ease;
    color: rgba(255, 255, 255, 0.9) !important;
    position: relative;
    padding: 0.5rem 0.75rem !important;
    border-radius: 6px;
}

.navbar-dark .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #64B5F6, #42A5F5);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: #E3F2FD !important;
    background: rgba(255, 255, 255, 0.1);
}

.navbar-dark .navbar-nav .nav-link:hover::after {
    width: 80%;
}

.navbar-dark .navbar-nav .nav-link.active {
    color: #E3F2FD !important;
    background: rgba(255, 255, 255, 0.15);
}

.navbar-dark .navbar-nav .nav-link.active::after {
    width: 80%;
    background: linear-gradient(90deg, #E3F2FD, #BBDEFB);
}



.navbar-light .rounded-circle:hover {
    border-color: #42A5F5 !important;
    box-shadow: 0 6px 15px rgba(21, 101, 192, 0.3);
    transform: scale(1.05);
}

.navbar-light .small {
    font-size: 0.75rem;
    color: #1565C0;
    font-weight: 600;
}

/* Header Structure */
.navbar .w-100:first-child {
    min-height: 80px;
}

.navbar .container-fluid {
    padding-left: 1rem;
    padding-right: 1rem;
}

.navbar .row {
    margin: 0;
}

.navbar [class*="col-"] {
    display: flex;
    align-items: center;
    min-height: 60px;
}

.navbar [class*="col-"].text-lg-start,
.navbar [class*="col-"].text-md-start {
    justify-content: flex-start;
}

.navbar [class*="col-"].text-center {
    justify-content: center;
}

.navbar [class*="col-"]:last-child {
    justify-content: flex-end;
}

.minister-photo {
    transition: transform 0.3s ease;
}

.minister-photo:hover {
    transform: scale(1.05);
}

.minister-designation {
    font-size: 0.7rem;
    color: #1565C0;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 992px) and (min-width: 769px) {
    .navbar [class*="col-"] {
        margin-bottom: 0.5rem;
    }
    
    .minister-photo {
        height: 55px !important;
    }
    
    .navbar-brand img {
        height: 45px !important;
    }
    
    .navbar [class*="col-"] img[src*="logo_c"] {
        height: 55px !important;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 80px;
    }
    
    .carousel-item img {
        height: 300px;
    }
    
    .carousel-caption h2 {
        font-size: 1.5rem;
    }
    
    .carousel-caption p {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .announcements-section .card {
        margin-bottom: 1.5rem;
    }
    
    .announcements-section .carousel-control-prev {
        left: 0;
    }
    
    .announcements-section .carousel-control-next {
        right: 0;
    }
    
    .announcements-section .carousel-indicators {
        margin-bottom: -1rem;
    }
    
    .navbar-light .rounded-circle {
        height: 40px !important;
    }
    
    .navbar-light .small {
        font-size: 0.65rem;
    }
    
    .navbar .w-100:first-child {
        min-height: auto;
    }
    
    .navbar .container-fluid {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
    
    .navbar [class*="col-"] {
        margin-bottom: 0.75rem;
        text-align: center !important;
        justify-content: center !important;
        min-height: auto;
    }
    
    .navbar [class*="col-"]:last-child {
        justify-content: center !important;
    }
    
    .navbar [class*="col-"]:last-child .d-flex {
        justify-content: center !important;
        gap: 1.5rem !important;
    }
    
    .minister-photo {
        height: 50px !important;
    }
    
    .minister-designation {
        font-size: 0.65rem;
    }
    
    .navbar-brand img {
        height: 40px !important;
    }
    
    .navbar [class*="col-"] img[src*="logo_c"] {
        height: 50px !important;
    }
    
    .footer-footer h3 {
        font-size: 1.4rem;
    }
    
    .rajasthan-map svg {
        width: 50px;
        height: 50px;
    }
    
    .footer-title {
        font-size: 1rem;
    }
    
    .footer-links a {
        font-size: 0.9rem;
    }
    
    .footer-contact li {
        font-size: 0.85rem;
    }
    
    .footer-bottom-bar p {
        font-size: 0.75rem;
        padding: 0 1rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #E3F2FD;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #1565C0, #0D47A1);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #1976D2, #1565C0);
}

/* Policy Page Styles */
.policy-banner {
    position: relative;
    margin-top: 0 !important;
}

.policy-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(13, 71, 161, 0.75), rgba(21, 101, 192, 0.75));
    z-index: 1;
}

.policy-banner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255,255,255,0.1) 2px, transparent 2px),
        radial-gradient(circle at 80% 70%, rgba(255,255,255,0.1) 2px, transparent 2px),
        linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.05) 50%, transparent 70%);
    background-size: 50px 50px, 50px 50px, 100% 100%;
    opacity: 0.2;
    z-index: 2;
}

.policy-banner .container {
    position: relative;
    z-index: 3;
}

.policy-banner .breadcrumb {
    margin-bottom: 0;
}

.policy-banner .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
}

.policy-banner .breadcrumb-item a:hover {
    color: #fff;
    text-decoration: underline;
}

.policy-banner .breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb-item + .breadcrumb-item::before {
    content: ">";
    color: rgba(255, 255, 255, 0.7);
    padding: 0 0.5rem;
}

.policy-image-container {
    position: relative;
}

.policy-pillar-card {
    border: none;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #ffffff;
}

.policy-pillar-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(21, 101, 192, 0.2) !important;
}

.policy-pillar-card .card-body {
    display: flex;
    flex-direction: column;
}

.policy-pillar-card .card-title {
    color: #1565C0;
    font-size: 1.2rem;
}

.policy-pillar-card .card-text {
    color: #666;
    flex-grow: 1;
    margin-bottom: 1rem;
}

.policy-icon {
    opacity: 0.9;
}

/* Startups Page Styles */
.startups-banner {
    position: relative;
    margin-top: 0 !important;
}

.startups-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(13, 71, 161, 0.75), rgba(21, 101, 192, 0.75));
    z-index: 1;
}

.startups-banner .container {
    position: relative;
    z-index: 2;
}

.startups-banner .breadcrumb {
    margin-bottom: 0;
}

.startups-banner .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
}

.startups-banner .breadcrumb-item a:hover {
    color: #fff;
    text-decoration: underline;
}

.startups-banner .breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.7);
}

.startup-card-link {
    display: block;
    transition: transform 0.10s ease;
}

.startup-card-link:hover {
    transform: translateY(-5px);
    text-decoration: none;
}

.startup-card {
    background: linear-gradient(135deg, #ffffff, #ffffff);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(21, 101, 192, 0.2);
    transition: all 0.3s ease;
    min-height: 100px;
}

.startup-card-link:hover .startup-card {
    box-shadow: 0 8px 25px rgba(21, 101, 192, 0.4);
    background: linear-gradient(135deg,#2172c1, #4db7e9);
}

.startup-name h5 {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1rem;
}

.logo-placeholder {
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Knowledge Repository Page Styles */
.knowledge-banner {
    position: relative;
    margin-top: 0 !important;
}

.knowledge-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(13, 71, 161, 0.75), rgba(21, 101, 192, 0.75));
    z-index: 1;
}

.knowledge-banner .container {
    position: relative;
    z-index: 2;
}

.knowledge-banner .breadcrumb {
    margin-bottom: 0;
}

.knowledge-banner .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
}

.knowledge-banner .breadcrumb-item a:hover {
    color: #fff;
    text-decoration: underline;
}

.knowledge-banner .breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.7);
}

.knowledge-card {
    background: #f5f5f5;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.knowledge-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.knowledge-icon {
    width: 40px;
    height: 40px;
}

.knowledge-card-title {
    color: #333;
    font-weight: 700;
    font-size: 1.1rem;
    line-height: 1.4;
}

.knowledge-card-text {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    flex-grow: 1;
}

.knowledge-card .btn-primary {
    margin-top: auto;
    align-self: flex-start;
}

/* Regulatory & Ethical Alignment Page Styles */
.regulatory-banner {
    position: relative;
    margin-top: 0 !important;
}

.regulatory-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(13, 71, 161, 0.75), rgba(21, 101, 192, 0.75));
    z-index: 1;
}

.regulatory-banner .container {
    position: relative;
    z-index: 2;
}

.regulatory-banner .breadcrumb {
    margin-bottom: 0;
}

.regulatory-banner .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
}

.regulatory-banner .breadcrumb-item a:hover {
    color: #fff;
    text-decoration: underline;
}

.regulatory-banner .breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.7);
}

.key-aspects-list li {
    color: #333;
    font-size: 1rem;
    line-height: 1.6;
   
}


.key-aspects-list li span {
    display: block;
}

/* Button Styles */
.btn-primary {
    background: linear-gradient(135deg, #42A5F5, #1565C0, #0D47A1);
    border: none;
    padding: 10px 17px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(21, 101, 192, 0.3);
    border-radius: 8px;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(21, 101, 192, 0.5);
    background: linear-gradient(135deg, #64B5F6, #1976D2, #1565C0);
}

.btn-outline-primary {
    border: 2px solid #1565C0;
    color: #1565C0;
    font-weight: 600;
    transition: all 0.3s ease;
    border-radius: 8px;
    background: transparent;
}

.btn-outline-primary:hover {
    background: linear-gradient(135deg, #1565C0, #0D47A1);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(21, 101, 192, 0.4);
    border-color: #1565C0;
}


.about {
    width: 78%;
    object-fit: cover;
    border-radius: 15px;
}

.btn-download {
    margin-top: 15px;
    padding: 10px 22px;
    background: #015686;
    color: #fff;
    border-radius: 30px;
    font-weight: 600;
    display: inline-block;
    transition: 0.3s;
}

.NEW-title {
    font-size: 1rem;
    font-weight: 100;
}
