/*
Theme   : Akonta (Ngetemplates), redesigned as a dark portfolio for Dhivagar T
Sections: 1 Variables | 2 General | 3 Loader+Buttons | 4 Navbar | 5 Intro | 6 Tools strip
          7 About | 8 Counters | 9 Skills | 10 Experience | 11 Achievements | 12 Education
          13 Contact+Footer | 14 Floating buttons | 15 Responsive
*/
@import url("https://fonts.googleapis.com/css2?family=Heebo:wght@300;400;500;600;700;800&family=Raleway:wght@400;500;600;700&display=swap");

/* 1. VARIABLES: change the whole look here */
:root {
  --navy:    #2d3e50;   /* theme navy (navbar, hero) */
  --bg:      #1a2530;   /* page background */
  --bg-alt:  #202d3a;   /* alternate sections */
  --card:    #263544;   /* cards */
  --line:    rgba(255,255,255,.09);
  --green:   #39d196;   /* theme accent */
  --yellow:  #f2c94c;   /* highlight */
  --text:    #b6c3cf;
  --head:    #ffffff;
}

/* 2. GENERAL */
html { scroll-behavior: smooth; }
body { margin: 0; padding: 0; font-size: 16px; font-family: 'Raleway', sans-serif; background: var(--bg); color: var(--text); overflow-x: hidden; }
h1,h2,h3,h4,h5,h6 { font-family: 'Heebo', sans-serif; padding: 0; margin: 0; color: var(--head); }
h1 { font-size: 64px; line-height: 70px; font-weight: 700; margin-bottom: 10px; }
h2 { font-size: 42px; font-weight: 600; line-height: 50px; margin-bottom: 24px; }
h3 { font-size: 24px; }
h5 { font-size: 20px; font-weight: 600; line-height: 26px; }
a { text-decoration: none; color: var(--text); transition: .2s; }
a:hover { color: var(--green); }
p { margin: 5px 0 15px; line-height: 28px; letter-spacing: .4px; }
ul { padding: 0; margin: 0; } ul li { list-style: none; }
img { width: 100%; }
strong, b { color: var(--head); }
code { color: var(--yellow); }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
.section-text { max-width: 520px; margin-bottom: 40px; }

/* 3. LOADER + BUTTONS */
.loader { position: fixed; inset: 0; z-index: 9999; background: var(--navy); }
.loader .loading { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); }
.loader .loading .aloader { background: var(--navy); color: var(--green); }
.button, .button2 { display: inline-block; padding: 13px 30px; background: var(--green); color: #0f1c17; font-size: 13px; letter-spacing: 1px; border-radius: 2px; border: 0; transition: .2s; font-weight: 700; }
.button:hover, .button2:hover { background: #fff; color: var(--navy); }
.button-outline { margin-left: 10px; background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.35); }
.button-outline:hover { background: var(--green); border-color: var(--green); color: #0f1c17; }

/* 4. NAVBAR */
.navbar { top: 0; background: var(--navy); padding: 22px 0; position: fixed; width: 100%; z-index: 99; text-align: center; transition: .3s; }
.navbar .navbar-brand { text-align: left; width: 20%; font: 800 24px 'Heebo', sans-serif; color: #fff; }
.navbar .navbar-brand span { color: var(--green); }
.navbar .navbar-toggler { padding: 0; border: 0; }
.navbar .navbar-toggler i { font-size: 32px; color: #fff; }
.navbar .navbar-toggler:focus { box-shadow: none; }
.navbar .navbar-collapse { position: relative; width: 60%; text-align: center; left: -10px; }
.navbar .navbar-nav { margin-right: auto; margin-left: auto; }
.navbar .navbar-nav li { padding: 0 8px; }
.navbar .navbar-nav li a { color: #fff; font-weight: 500; }
.navbar .navbar-nav li a:hover, .navbar .navbar-nav li a.active { color: var(--green); }
.navbar .button-navbar { width: 20%; float: right; text-align: right; }
.navbar .button-navbar li { display: inline-block; margin-left: 15px; }
.navbar-fixed { box-shadow: 0 6px 20px rgba(0,0,0,.35); padding: 16px 0; }

/* 5. INTRO */
.intro { margin-top: 92px; background: var(--navy); color: #dfe7ee; padding: 80px 0 110px; position: relative; overflow: hidden; }
.intro::after { content: ""; position: absolute; width: 520px; height: 520px; right: -140px; top: -120px; border-radius: 50%; background: radial-gradient(circle, rgba(57,209,150,.22), transparent 65%); }
.intro .row { position: relative; z-index: 1; }
.intro .hello { color: var(--green); font-weight: 700; margin-bottom: 0; }
.intro .role { color: var(--yellow); font-weight: 500; margin-bottom: 20px; min-height: 34px; }
.intro .cursor { animation: blink 1s steps(1) infinite; color: #fff; margin-left: 2px; }
.intro .button2 { margin-top: 20px; }
.intro .button-outline { margin-top: 20px; }
.intro .content-image { text-align: right; margin-right: 20px; }
.intro .content-image img { transform: rotate(8deg); width: 70%; border-radius: 10px; border: 6px solid var(--green); box-shadow: 0 25px 50px rgba(0,0,0,.4); }
@keyframes blink { 50% { opacity: 0; } }

/* 6. TOOLS STRIP (replaces client logos) */
.clients { padding: 34px 0; background: var(--bg-alt); border-bottom: 1px solid var(--line); }
.tool-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 14px; }
.tool { padding: 8px 18px; border: 1px solid var(--line); border-left: 3px solid var(--c); border-radius: 3px; color: #fff; font-weight: 600; font-size: 14px; background: var(--card); }

/* 7. ABOUT */
.about { padding: 110px 0; }
.about ul li { padding: 6px 0; font-weight: 600; color: #fff; }
.about ul li i { color: var(--green); margin-right: 10px; }
.about .content { padding: 30px; background: var(--card); border-left: 4px solid var(--green); border-radius: 3px; }

/* 8. COUNTERS */
.achievement { text-align: center; }
.achievement i { color: var(--green); font-size: 56px; }
.achievement h2 { margin: 10px 0; display: inline-block; }
.achievement .plus { color: var(--green); font: 600 32px 'Heebo', sans-serif; }
.achievement .content { padding: 50px 0 35px; background: var(--navy); }

/* 9. SKILLS */
.services { padding-top: 110px; padding-bottom: 90px; }
.skills { background: var(--bg-alt); }
.skill { display: flex; align-items: center; gap: 18px; background: var(--card); padding: 22px; border-radius: 4px; border: 1px solid var(--line); transition: .25s; height: 100%; }
.skill:hover { transform: translateY(-5px); border-color: var(--green); }
.badge-tool { flex: 0 0 56px; height: 56px; display: grid; place-items: center; border-radius: 12px; background: rgba(0,0,0,.35); border: 2px solid var(--c); color: var(--c); font: 800 20px 'Heebo', sans-serif; }
.skill-body { flex: 1; }
.skill-head { display: flex; justify-content: space-between; margin-bottom: 10px; }
.skill-head h5 { font-size: 17px; margin: 0; }
.skill-head span { color: var(--green); font-weight: 700; }
.bar { height: 8px; background: rgba(255,255,255,.09); border-radius: 8px; overflow: hidden; }
.fill { height: 100%; width: 0; border-radius: 8px; background: linear-gradient(90deg, var(--green), #8be8c4); transition: width 1.5s cubic-bezier(.2,.7,.2,1); }

/* 10. EXPERIENCE (timeline) */
.experience { padding: 110px 0; }
.timeline { margin-top: 30px; border-left: 2px dashed rgba(57,209,150,.45); padding-left: 34px; max-width: 820px; }
.job { position: relative; background: var(--card); padding: 24px 28px; margin-bottom: 22px; border-radius: 4px; border: 1px solid var(--line); }
.job::before { content: ""; position: absolute; left: -44px; top: 30px; width: 16px; height: 16px; border-radius: 50%; background: var(--bg); border: 3px solid var(--green); }
.job.current::before { background: var(--green); box-shadow: 0 0 0 6px rgba(57,209,150,.25); }
.job .when { float: right; color: var(--yellow); font-weight: 700; }
.job strong { color: var(--green); }
.job p { margin: 10px 0 0; }

/* 11. ACHIEVEMENTS (theme testimonial block + swiper) */
.testimonial { color: #dfe7ee; }
.testimonial h5 { color: #fff; margin-bottom: 3px; }
.testimonial span { font-weight: 500; }
.testimonial .content-box { padding: 40px 30px; background: var(--navy); border-radius: 4px; display: flex; flex-wrap: wrap; align-items: center; }
.testimonial .content-image { width: 45%; padding: 0 20px; }
.testimonial .swiper { width: 55%; cursor: grab; padding-bottom: 36px; }
.testimonial .content { padding: 20px 40px; }
.testimonial .content i { font-size: 56px; color: var(--green); }
.testimonial .content b { color: var(--yellow); }
.testimonial .swiper-pagination-bullet { background: #fff; opacity: .4; }
.testimonial .swiper-pagination-bullet-active { background: var(--green); opacity: 1; }

/* 12. EDUCATION */
.education { background: var(--bg-alt); padding-bottom: 110px; }
.edu-card { height: 100%; background: var(--card); padding: 30px 24px; border-radius: 4px; border-top: 3px solid var(--green); transition: .25s; }
.edu-card:hover { transform: translateY(-5px); }
.edu-card i { font-size: 44px; color: var(--green); }
.edu-card h5 { margin: 14px 0 8px; font-size: 18px; }
.edu-card p { margin: 0; font-size: 15px; }

/* 13. CONTACT + FOOTER */
.contact { padding: 100px 0 40px; font-weight: 500; }
.contact h5 { margin-bottom: 15px; }
.contact h5 i { color: var(--green); margin-right: 6px; }
.contact span { color: var(--text); }
footer .row { border-top: 1px solid var(--line); padding: 30px 0 90px; }
footer ul { text-align: right; }
footer ul li { display: inline-block; }
footer ul li a { display: inline-grid; place-items: center; width: 42px; height: 42px; margin-left: 8px; border-radius: 50%; border: 1px solid var(--line); }
footer ul li i { font-size: 20px; }
footer ul li a:hover { background: var(--green); color: #0f1c17; border-color: var(--green); }

/* 14. FLOATING QUICK-CONTACT BUTTONS */
.float-contact { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); display: flex; flex-direction: column; gap: 10px; z-index: 90; }
.float-contact a { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; font-size: 26px; box-shadow: 0 8px 22px rgba(0,0,0,.5); transition: .2s; }
.float-contact a:hover { transform: scale(1.1); }
.float-contact .wa { background: #25d366; color: #0b2915; }
.float-contact .mail { background: var(--yellow); color: #2a2200; }
.float-contact .call { background: var(--green); color: #0f1c17; }

/* 15. RESPONSIVE */
@media (max-width: 991px) {
  .navbar .button-navbar { display: none; }
  .navbar .navbar-collapse { width: 100%; left: 0; padding-top: 14px; }
  .navbar .navbar-brand { width: auto; }
  .testimonial .content-image, .testimonial .swiper { width: 100%; }
  .testimonial .content { padding: 10px 6px; }
  .col-contact { width: 100%; }
  .intro .content-image { margin-top: 50px; text-align: center; margin-right: 0; }
  .intro .content-image img { width: 55%; }
}
@media (max-width: 767px) {
  .contact span { margin-bottom: 20px; display: block; }
  .about, .experience, .services { padding-top: 70px; padding-bottom: 60px; }
  .timeline { padding-left: 22px; }
  .job::before { left: -32px; }
  .job .when { float: none; display: block; margin-bottom: 4px; }
}
@media (max-width: 575px) {
  .container { padding: 0 25px; }
  h1 { font-size: 46px; line-height: 52px; }
  h2 { font-size: 34px; line-height: 42px; }
  .button-outline { margin-left: 0; }
  .intro .content-image img { width: 75%; }
  footer { text-align: center; }
  footer ul { text-align: center; margin-bottom: 12px; }
  footer ul li a { margin: 0 4px; }
  footer .reverse { flex-direction: column-reverse !important; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
