/* Main Stylesheet for INTUC Website (INC Style) */

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&display=swap');

:root {
    --primary-color: #ff9933;
    /* Saffron */
    --secondary-color: #138808;
    /* Green */
    --accent-color: #002366;
    /* Navy Blue */
    --text-color: #333;
    --light-bg: #f9f9f9;
    --footer-bg: #0a1f44;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: #fff;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    color: var(--accent-color);
}

.text-primary-custom {
    color: var(--primary-color) !important;
}

.text-accent {
    color: var(--accent-color) !important;
}

.bg-primary-custom {
    background-color: var(--primary-color) !important;
}

.btn-primary-custom {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    border-radius: 2px;
    padding: 10px 25px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.btn-primary-custom:hover {
    background-color: #e68a00;
    border-color: #e68a00;
    color: white;
}

/* Tricolor Utilities */
.tricolor-line {
    height: 5px;
    background: linear-gradient(to right, #ff9933 33%, #fff 33%, #fff 66%, #138808 66%);
    width: 100%;
}

.tricolor-text {
    background: linear-gradient(to right, #ff9933, #000, #138808);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.section-title {
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50%;
    height: 3px;
    background: linear-gradient(to right, #ff9933, #fff, #138808);
}

/* Navbar */
.top-bar {
    background-color: #f8f9fa;
    border-bottom: 1px solid #ddd;
    font-size: 0.85rem;
}

.navbar {
    background: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    padding: 10px 0;
    border-top: 5px solid #ff9933;
    /* Saffron Top Border */
}

/* Footer (INC Style) */
footer {
    background-color: var(--footer-bg);
    color: white;
    position: relative;
    font-size: 0.9rem;
}

footer .footer-top {
    padding: 60px 0 20px;
}

footer h5 {
    color: #ff9933;
    /* Saffron Headings */
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

footer a {
    color: #bbb;
    text-decoration: none;
    transition: 0.3s;
    display: block;
    margin-bottom: 8px;
}

footer a:hover {
    color: #fff;
    padding-left: 5px;
}

.footer-bottom {
    background: #051024;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icons a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    margin-right: 10px;
    transition: 0.3s;
}

.social-icons a:hover {
    background: #ff9933;
    transform: translateY(-3px);
}

height: 40px;
background: rgba(255, 255, 255, 0.1);
text-align: center;
line-height: 40px;
border-radius: 50%;
margin-right: 10px;
color: white;
}

footer .social-icons a:hover {
    background: var(--primary-color);
}

footer hr {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 40px 0;
}

/* Animated Indian Flag */
.flag-container {
    position: relative;
    width: 100%;
    height: 300px;
    background: #fff;
    overflow: hidden;
    /* Cabinet style frame */
    border: 8px solid #b8860b; /* Dark Goldenrod */
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.indian-flag {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #FF9933 33.33%, #FFFFFF 33.33%, #FFFFFF 66.66%, #138808 66.66%);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.flag-wave {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradient to simulate light moving across the cloth */
    background: linear-gradient(135deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%);
    background-size: 200% 200%;
    animation: waveAnimation 3s infinite linear;
    z-index: 2;
    pointer-events: none;
}

.chakra-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    /* Ashoka Chakra Blue */
    color: #000080; 
    font-size: 80px; /* If using font-awesome icon */
    animation: spin 20s infinite linear;
}

/* Make it look like a cloth texture */
.indian-flag::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='4' height='4' viewBox='0 0 4 4' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 3h1v1H1V3zm2-2h1v1H3V1z' fill='%23000000' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    z-index: 2;
}

@keyframes waveAnimation {
    0% { background-position: -150% 0; }
    100% { background-position: 150% 0; }
}

@keyframes spin {
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}